diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/decorator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decorator.py b/src/decorator.py index 361c36e..517d420 100644 --- a/src/decorator.py +++ b/src/decorator.py @@ -177,7 +177,7 @@ class FunctionMaker(object): try: code = compile(src, filename, 'single') exec(code, evaldict) - except: + except Exception: print('Error in generated code:', file=sys.stderr) print(src, file=sys.stderr) raise |
