mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
IoEngine: Always log coroutine exception diagnostics
While analyzing a possible memory leak, we encountered several coroutine exception messages, which unfortunately do not provide any information about what exactly went wrong, as exception diagnostics were previously only logged at the notice level.
This commit is contained in:
parent
39be31c305
commit
771070549c
@ -109,8 +109,7 @@ public:
|
||||
// https://github.com/boostorg/coroutine/issues/39
|
||||
throw;
|
||||
} catch (const std::exception& ex) {
|
||||
Log(LogCritical, "IoEngine", "Exception in coroutine!");
|
||||
Log(LogDebug, "IoEngine") << "Exception in coroutine: " << DiagnosticInformation(ex);
|
||||
Log(LogCritical, "IoEngine") << "Exception in coroutine: " << DiagnosticInformation(ex);
|
||||
} catch (...) {
|
||||
Log(LogCritical, "IoEngine", "Exception in coroutine!");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user