Fix clang-tidy 18.1.8 issues (#3800)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -33,9 +33,9 @@ public:
|
||||
} else {
|
||||
Log::record(severity, event, code, msg, {});
|
||||
}
|
||||
} catch (...) {
|
||||
// ignore exceptions during logging
|
||||
// What would we do, log them?
|
||||
} catch (...) { // NOLINT(bugprone-empty-catch)
|
||||
// ignore exceptions during logging
|
||||
// What would we do, log them?
|
||||
#if !defined(NDEBUG)
|
||||
[[maybe_unused]] auto ex = std::current_exception();
|
||||
assert(!"unhandled exception while logging");
|
||||
|
||||
Reference in New Issue
Block a user