in nxdrive.client.base_automation_client.BaseAutomationClient class, the execute method:
def execute(self, command, url=None, op_input=None, timeout=-1, check_params=True, void_op=False, extra_headers=None, file_out=None, **params): ... try: resp = self.opener.open(req, timeout=timeout) except Exception as e: log_details = self._log_details(e) if isinstance(log_details, tuple): _, _, _, error = log_details if error and error.startswith("Unable to find batch"): raise InvalidBatchException() raise e ...
The exception is here catched. It may be better to let it propagate.
- is related to
-
NXDRIVE-696 enhance error handling
- Resolved