mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-09-23 00:43:18 +00:00
fixing base job exception
This commit is contained in:
parent
b09f225c62
commit
66d823c561
1 changed files with 1 additions and 0 deletions
|
|
@ -49,5 +49,6 @@ class BaseJob(BaseComponent):
|
|||
await step(context)
|
||||
except Exception as e:
|
||||
self.logger.exception(f"Failed to execute job: {e}")
|
||||
context.response.success = False
|
||||
context.response.answer = str(e)
|
||||
return context.response
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue