printing traceback on error