code: def step(self, action):
      try:
          return self.env.step(action)
      except Exception:
          logger.error(traceback.format_exc())
          return self.reset(), 0.0, False, {"__terminated__": True}
  
file_path: ray/rllib/env/wrappers/exception_wrapper.py
imports: import logging
  import traceback
  import gymnasium
label_desc: Use image node_id 3 for calling the ResetOnExceptionWrapper obj's underlying member method code with example usage: obj.step(action) and returns: self, self,  int,  False,  dict