Commit f4e063a6 by ‘chizw’

[+]参数优化

1 parent 1df4b387
...@@ -118,9 +118,8 @@ def deal_worker(task_id: str): ...@@ -118,9 +118,8 @@ def deal_worker(task_id: str):
) )
log.info(f"Worker {task_id} finished.") log.info(f"Worker {task_id} finished.")
except Exception as e: except Exception as e:
log.error(f"Worker error:{e}") log.error(f"Worker error:{traceback.format_exc()}")
funasr_db.update_ali_asr_model_res_fail(task_id, str(e), traceback.format_exc()) funasr_db.update_ali_asr_model_res_fail(task_id, str(e), traceback.format_exc())
traceback.print_exc()
# kafka_service.funasr_producer.send_task_id(task_id) # kafka_service.funasr_producer.send_task_id(task_id)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!