... | ... | @@ -366,7 +366,7 @@ import ament_index_python |
|
|
def display_exceptions(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}'")
|
... | ... | |