change error message
Browse files- ChatAtomicFlow.py +2 -4
ChatAtomicFlow.py
CHANGED
@@ -303,10 +303,8 @@ class ChatAtomicFlow(AtomicFlow):
|
|
303 |
_success = True
|
304 |
break
|
305 |
except Exception as e:
|
306 |
-
log.error(
|
307 |
-
|
308 |
-
f"Retrying in {self.flow_config['wait_time_between_retries']} seconds..."
|
309 |
-
)
|
310 |
# log.error(
|
311 |
# f"The API call raised an exception with the following arguments: "
|
312 |
# f"\n{self.flow_state['history'].to_string()}"
|
|
|
303 |
_success = True
|
304 |
break
|
305 |
except Exception as e:
|
306 |
+
log.error(f"Error {attempts} in calling backend: {e}. ")
|
307 |
+
log.error(f"Retrying in {self.flow_config['wait_time_between_retries']} seconds...")
|
|
|
|
|
308 |
# log.error(
|
309 |
# f"The API call raised an exception with the following arguments: "
|
310 |
# f"\n{self.flow_state['history'].to_string()}"
|