small change to the listener method signature
implemented automated testing for the exception log handler