Skip to content

Commit

Permalink
Use self.abort() on the Hub when handling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Alvaro committed Nov 19, 2012
1 parent b269952 commit b1cdaac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evy/hubs/hub.py
Expand Up @@ -685,8 +685,8 @@ def handle_error(self, context, type, value, tb):

def _default_handle_error(self, context, type, value, tb):
traceback.print_exception(type, value, tb)
sys.abort()
raise NotImplementedError()
self.abort()
#sys.exit(1)

##
## exceptions
Expand Down

0 comments on commit b1cdaac

Please sign in to comment.