forked from qt-creator/qt-creator
QmlDesigner: Fix exception output
Fix exception output by disabling escaping of non-printable characters. Change-Id: I5997f6f9b70a71a1a6b1cfdad17ac88daee35f7a Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
8f948397ee
commit
3a0182d28e
@@ -199,10 +199,10 @@ QDebug operator<<(QDebug debug, const Exception &exception)
|
|||||||
"File: " << exception.file() << "\n"
|
"File: " << exception.file() << "\n"
|
||||||
"Line: " << exception.line() << "\n";
|
"Line: " << exception.line() << "\n";
|
||||||
if (!exception.description().isEmpty())
|
if (!exception.description().isEmpty())
|
||||||
debug.nospace() << exception.description();
|
debug.nospace() << exception.description() << "\n";
|
||||||
|
|
||||||
if (!exception.backTrace().isEmpty())
|
if (!exception.backTrace().isEmpty())
|
||||||
debug.nospace() << exception.backTrace();
|
debug.nospace().noquote() << exception.backTrace();
|
||||||
|
|
||||||
return debug.space();
|
return debug.space();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user