mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 22:54:57 +02:00
parent
68dceaab06
commit
8c50c6f91f
@ -243,7 +243,11 @@ String icinga::DiagnosticInformation(const std::exception& ex, bool verbose, Sta
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (boost::get_error_info<ContextTraceErrorInfo>(ex) == NULL) {
|
const ContextTrace *ct = boost::get_error_info<ContextTraceErrorInfo>(ex);
|
||||||
|
|
||||||
|
if (ct) {
|
||||||
|
result << *ct;
|
||||||
|
} else {
|
||||||
result << std::endl;
|
result << std::endl;
|
||||||
|
|
||||||
if (!context)
|
if (!context)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user