clang-tidy: Enable bugprone-empty-catch
Modified code to address issues flagged by this check.
Tested: Build and unit tests passed successfully.
Change-Id: I19ea0ffe4861f5a5e0aea118b4c20f6faf1d2c35
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
diff --git a/elog_watch.cpp b/elog_watch.cpp
index 22cce95..2c903c2 100644
--- a/elog_watch.cpp
+++ b/elog_watch.cpp
@@ -141,7 +141,8 @@
}
catch (const QuotaExceeded& e)
{
- // No action now
+ // No action needed
+ lg2::warning("Skipping exception: QuotaExceeded during createDump");
}
return;
}