Skip to content

Commit f7b0b7f

Browse files
committed
Fix exception reporting
1 parent 38c7836 commit f7b0b7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source-code/decorators/decorator_arguments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ def silly(x):
5050
try:
5151
print(silly(2.5))
5252
except ValueError as e:
53-
print(f'Excepton raised as expected: {e.message}')
53+
print(f'Exception raised as expected: {e}')

0 commit comments

Comments
 (0)