Skip to content

Commit

Permalink
print detail error
Browse files Browse the repository at this point in the history
  • Loading branch information
hzliu committed Jun 30, 2020
1 parent 8c34bb5 commit 51e5ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rqalpha/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ def run(config, source_code=None, user_funcs=None):

def _exception_handler(e):
user_system_log.exception(_(u"strategy execute exception"))
user_system_log.error(e.error)
if not is_user_exc(e.error.exc_val):
system_log.exception(_(u"strategy execute exception"))
return const.EXIT_CODE.EXIT_INTERNAL_ERROR

return const.EXIT_CODE.EXIT_USER_ERROR
Expand Down

0 comments on commit 51e5ab8

Please sign in to comment.