Skip to content
GitLab
Explore
Sign in
Changes
Page history
Update lab3
authored
Feb 20, 2025
by
Tommy Persson
Show whitespace changes
Inline
Side-by-side
lab3.md
View page @
e4f58b66
...
...
@@ -667,7 +667,7 @@ import sys
def display_exception(func):
def wrapper(
*
args):
try:
func(
*
args)
return
func(
*
args)
except Exception as ex:
traceback.print_exception(
*
sys.exc_info())
print(f"Unhandled exception was caught: '{ex}'")
...
...