Switch Backtrace and Modules printing order
This commit is contained in:
parent
577ac1381c
commit
0e010dc115
|
@ -611,14 +611,6 @@ bool CrashHandler::trigger(const QString reason, bool showDialog) {
|
|||
}
|
||||
} catch (...) {
|
||||
}
|
||||
#ifdef HAS_MODULES
|
||||
try {
|
||||
out.append("\n==== Modules ====\n");
|
||||
printModules(out);
|
||||
out.append("==== End ====\n");
|
||||
} catch (...) {
|
||||
}
|
||||
#endif
|
||||
#ifdef HAS_BACKTRACE
|
||||
try {
|
||||
out.append("\n==== Backtrace ====\n");
|
||||
|
@ -627,6 +619,14 @@ bool CrashHandler::trigger(const QString reason, bool showDialog) {
|
|||
} catch (...) {
|
||||
}
|
||||
#endif
|
||||
#ifdef HAS_MODULES
|
||||
try {
|
||||
out.append("\n==== Modules ====\n");
|
||||
printModules(out);
|
||||
out.append("==== End ====\n");
|
||||
} catch (...) {
|
||||
}
|
||||
#endif
|
||||
|
||||
// Save to crash information to file
|
||||
FILE *fw = fopen(fpCrsh, "w");
|
||||
|
|
Loading…
Reference in a new issue