HF RL Explorer

Task: Capture Go Panic Stacktrace as a Variable

Task: Capture Go Panic Stacktrace as a Variable: a task in Terminal-Lego-15k (Harbor dataset). In Go, when a panic occurs, a stacktrace is printed to stderr. However, when you recover from a panic using recover() , you only get the error message (e.g., "runtime error: index out of range"), not the…

The task

In Go, when a panic occurs, a stacktrace is printed to stderr. However, when you recover from a panic using `recover()`, you only get the error message (e.g., "runtime error: index out of range"), not the full stacktrace with file names and line numbers.

Part of PrimeIntellect/Terminal-Lego-15k.