mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-22 04:01:27 +00:00
fix(services): a better error message
This commit is contained in:
parent
b3c7e2fa9e
commit
b22dfc0469
|
@ -197,7 +197,7 @@ class ServicesMutations:
|
||||||
else:
|
else:
|
||||||
return ServiceJobMutationReturn(
|
return ServiceJobMutationReturn(
|
||||||
success=False,
|
success=False,
|
||||||
message=f"Service move failure: {job.status_text}: {job.error}",
|
message=f"While moving service and performing the step '{job.status_text}', error occured: {job.error}",
|
||||||
code=400,
|
code=400,
|
||||||
service=service_to_graphql_service(service),
|
service=service_to_graphql_service(service),
|
||||||
job=job_to_api_job(job),
|
job=job_to_api_job(job),
|
||||||
|
|
Loading…
Reference in a new issue