HF RL Explorer

Small fixes related to exceptions at the C APi boundary

Small fixes related to exceptions at the C APi boundary: a task in lifesci-drug-discovery-swe-envs-nocap (Harbor dataset). Title: Small fixes related to exceptions at the C APi boundary

The task

**Title:** Small fixes related to exceptions at the C APi boundary

Part of scalingX/lifesci-drug-discovery-swe-envs-nocap.