Skip to content

Commit

Permalink
shown get_status function name when exception occur
Browse files Browse the repository at this point in the history
  • Loading branch information
deep011 committed Sep 26, 2017
1 parent 5f94389 commit 62bd0c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sss.py
Original file line number Diff line number Diff line change
Expand Up @@ -1407,7 +1407,7 @@ def getStatus(self):
func[0](self,self.status)
except Exception, e:
self.err = 1
self.errmsg = get_exception_message(sys._getframe().f_code.co_name,sys._getframe().f_lineno, e.message)
self.errmsg = get_exception_message(sys._getframe().f_code.co_name,sys._getframe().f_lineno, e.message + " IN Function " + getattr(func[0],'__name__'))

return

Expand Down

0 comments on commit 62bd0c0

Please sign in to comment.