mirror of https://github.com/Icinga/icinga2.git
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…
Reference in New Issue