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/.clang-tidy b/.clang-tidy
index 0fd1d56..502f430 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -12,6 +12,7 @@
 bugprone-copy-constructor-init,
 bugprone-dangling-handle,
 bugprone-dynamic-static-initializers,
+bugprone-empty-catch,
 bugprone-fold-init-type,
 bugprone-forward-declaration-namespace,
 bugprone-forwarding-reference-overload,
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;
 }