Addresse unhandled exception logger

This PR fixes #1 .