HF RL Explorer

Issue: Unhandled errors lack stack traces

Issue: Unhandled errors lack stack traces: a task in LegoFlow-SWE (Harbor dataset). When an unhandled error occurs in Detox, the current error reporting omits stack traces, which significantly complicates debugging and failure diagnosis. The DetoxRuntimeError.format() method should be improved to…

The task

When an unhandled error occurs in Detox, the current error reporting omits stack traces, which significantly complicates debugging and failure diagnosis. The `DetoxRuntimeError.format()` method should be improved to produce richer, context-aware error strings depending on the type of error being formatted.

Part of Lego-X/LegoFlow-SWE.