mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 22:54:57 +02:00
parent
c433284d27
commit
9f6b90cd2d
@ -138,7 +138,7 @@ String icinga::DiagnosticInformation(const std::exception& ex, bool verbose, Sta
|
|||||||
|
|
||||||
String message = ex.what();
|
String message = ex.what();
|
||||||
|
|
||||||
if (verbose)
|
if (message.IsEmpty())
|
||||||
result << boost::diagnostic_information(ex);
|
result << boost::diagnostic_information(ex);
|
||||||
else
|
else
|
||||||
result << "Error: " << message;
|
result << "Error: " << message;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user