Skip to content

Commit

Permalink
modify main
Browse files Browse the repository at this point in the history
  • Loading branch information
KIDJourney committed Mar 21, 2016
1 parent ca8e468 commit acc23c5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,4 @@
try:
eventLoop.loop()
except Exception as e:
exc_type, exc_obj, exc_tb = sys.exc_info()
fname = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1]

logging.warning("Error :{0} of {1} on {2}:{3} ".format(str(e), exc_type, fname, exc_tb.tb_lineno))
logging.error("Service crashed : {0}".format(e))

0 comments on commit acc23c5

Please sign in to comment.