Skip to content

Commit 2aa714b

Browse files
authored
Suppress errors
Signed-off-by: Martijn Govers <[email protected]>
1 parent 1a75460 commit 2aa714b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

power_grid_model_c/power_grid_model/include/power_grid_model/common/multi_threaded_logging.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ class MultiThreadedLoggerImpl : public MultiThreadedLogger {
2727
~ThreadLogger() noexcept override {
2828
try {
2929
sync();
30-
} catch (...) {
31-
// NOSONAR // we can't sync so we need to drop
30+
} catch (...) { // NOLINT(bugprone-empty-catch) // NOSONAR
31+
// we can't sync so we need to ignore the error
3232
}
3333
}
3434
void sync() const { parent_->sync(*this); }

0 commit comments

Comments
 (0)