Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
fix: catch exception in hook function
  • Loading branch information
hanhxiao committed Sep 23, 2019
1 parent c6ecefa commit 2e326af592dd91161c5cceb6d852b0ba2c5250f5
Showing with 2 additions and 2 deletions.
  1. +2 −2 gnes/service/
@@ -438,8 +438,8 @@ def _run(self, ctx):'break from the event loop')
except ComponentNotLoad:
self.logger.error('component can not be correctly loaded, terminated')
except Exception as e:
self.logger.error("exception occured: %s" % str(e), exc_info=True)
except Exception as ex:
self.logger.error('unknown exception: %s' % str(ex), exc_info=True)

0 comments on commit 2e326af

Please sign in to comment.