Created
May 19, 2011 22:34
-
-
Save bcoe/981962 to your computer and use it in GitHub Desktop.
Example of Pytoad
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@pytoad_decorator(monitored_exceptions=[StandardError, LookupError]) | |
def foo(): | |
raise StandardError('banana') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment