fix(services): a better error message

This commit is contained in:
Houkime 2024-01-31 10:51:01 +00:00 committed by Inex Code
parent b054235d96
commit 7fd09982a4

View file

@ -197,7 +197,7 @@ class ServicesMutations:
else:
return ServiceJobMutationReturn(
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,
service=service_to_graphql_service(service),
job=job_to_api_job(job),