Affects Version/s: None
Fix Version/s: 0.12.0
Here's the snippet from the startup sequence of the SamzaContainer.
In this case, the catch block merely catches Exceptions and not Errors.
Consider the following sequence:
1. `NoSuchMethodError` thrown in the startup sequence.
2. The error is not caught in the catch block (hence, not logged) and the control reaches the finally block.
3. The finally block throws an exception in one of the shutdown methods.
4. The thrown exception completely masks the underlying NoSuchMethodError.
Catching all Throwables will atleast help log the error.
Ideally, finally block should be idempotent and not throw exceptions (but, that's for a different ticket since it's larger in scope)