mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-30 23:38:25 +00:00
Log Qt fatal message to crash report.
This commit is contained in:
parent
910b2f2b74
commit
0e38671224
@ -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…
Reference in New Issue
Block a user