Permalink
Browse files

Use self.abort() on the Hub when handling errors

  • Loading branch information...
1 parent b269952 commit b1cdaacb323bcb80f6a7afa15a7b5f16e446faa4 Alvaro committed Nov 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 evy/hubs/hub.py
View
@@ -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

0 comments on commit b1cdaac

Please sign in to comment.