mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-28 04:12:13 -04:00
Merge pull request #9993 from Icinga/coroutine-exception-log-diagnostics
IoEngine: Always log coroutine exception diagnostics
This commit is contained in:
commit
e936c43e89
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Reference in a new issue