HF RL Explorer

Task: Capture and Store Python Exception Information Using sys.exc info()

Task: Capture and Store Python Exception Information Using sys.exc info(): a task in Terminal-Lego-15k (Harbor dataset). Create a Python script that properly captures exception information (exception type, value, and traceback) into variables using sys.exc info() and formats them for display or…

The task

Create a Python script that properly captures exception information (exception type, value, and traceback) into variables using `sys.exc_info()` and formats them for display or logging purposes.

Part of PrimeIntellect/Terminal-Lego-15k.