mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 07:33:52 +02:00
Log Qt fatal message to crash report.
This commit is contained in:
parent
910b2f2b74
commit
0e38671224
1 changed files with 1 additions and 0 deletions
|
@ -125,6 +125,7 @@ void InstallQtMessageHandler() {
|
||||||
original(type, context, message);
|
original(type, context, message);
|
||||||
}
|
}
|
||||||
if (type == QtFatalMsg) {
|
if (type == QtFatalMsg) {
|
||||||
|
CrashReports::SetAnnotation("QtFatal", message);
|
||||||
Unexpected("Qt FATAL message was generated!");
|
Unexpected("Qt FATAL message was generated!");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue