Skip to content

Commit 12d4619

Browse files
committed
debug: modify dashd stacktrace printer to incl. wind-down
1 parent 65c940b commit 12d4619

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bitcoind.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,15 +144,15 @@ static bool AppInit(int argc, char* argv[])
144144
return false;
145145
}
146146
fRet = AppInitInterfaces(node) && AppInitMain(context, node);
147-
} catch (...) {
148-
PrintExceptionContinue(std::current_exception(), "AppInit()");
149-
}
150147

151148
if (fRet) {
152149
WaitForShutdown();
153150
}
154151
Interrupt(node);
155152
Shutdown(node);
153+
} catch (...) {
154+
PrintExceptionContinue(std::current_exception(), "AppInit()");
155+
}
156156

157157
return fRet;
158158
}

0 commit comments

Comments
 (0)