Best Practices
While learning about exception handling and its statements, mechanics, and classes is required to use it, for most programmers this may not be enough. Usually, this set of theoretical information needs practical experience of various cases to get a better feel for exceptions. In this regard, some rules of thumb about the practical use of exceptions are worth mentioning:
Do not suppress exceptions unless you really handled them.
Inform the user and let them take responsibility unless you can fix things silently.
Be aware of the caller's behavior and don't leak exceptions unless it is expected.
Wrap and chain with more specific exceptions when possible.
Suppressing Exceptions
In your function, when you catch an exception and do no throw anything, you are signaling that you took care of the exceptional case and you fixed the situation so that it is as if that exceptional case had never happened. If you cannot make such a claim, then you should not have suppressed that exception.