We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16fa7cb commit 0727aabCopy full SHA for 0727aab
services/storage/src/simcore_service_storage/api/rpc/_async_jobs.py
@@ -123,7 +123,7 @@ async def result(
123
exc_type = ""
124
exc_msg = ""
125
with log_catch(logger=_logger, reraise=False):
126
- task_error = TaskError.model_validate_json(_result)
+ task_error = TaskError.model_validate(_result)
127
exc_type = task_error.exc_type
128
exc_msg = task_error.exc_msg
129
raise JobError(job_id=job_id, exc_type=exc_type, exc_msg=exc_msg)
0 commit comments