Merge pull request #9993 from Icinga/coroutine-exception-log-diagnostics

IoEngine: Always log coroutine exception diagnostics
This commit is contained in:
Julian Brost 2024-02-12 10:39:37 +01:00 committed by GitHub
commit e936c43e89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -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!");
}