log traceback of exceptions for easier debugging