Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def do_something():
- if True != False:
- raise TrueFalseVerificationException("Error trying to verify whether True equals False!")
- try:
- do_something()
- except TrueFalseVerificationException as e:
- logging.exception('ERROR!')
- pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement