Two issues with ExceptionGroup implementation
Two issues with ExceptionGroup implementation: a task in UltraTerminal (Harbor dataset). try: try: raise ValueError("Something went wrong") except Exception as e: raise ExceptionGroup("group error", e ) except Exception as e: Print the formatted exception print(''.join(sys.excepthook(type(e), e…
The task
try: try: raise ValueError("Something went wrong") except Exception as e: raise ExceptionGroup("group error", [e]) except Exception as e: # Print the formatted exception print(''.join(sys.excepthook(type(e), e, None)))
Part of harness-hub/UltraTerminal.