From b22dfc04691c0d2863099d8619def94485e0821b Mon Sep 17 00:00:00 2001 From: Houkime <> Date: Wed, 31 Jan 2024 10:51:01 +0000 Subject: [PATCH] fix(services): a better error message --- selfprivacy_api/graphql/mutations/services_mutations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfprivacy_api/graphql/mutations/services_mutations.py b/selfprivacy_api/graphql/mutations/services_mutations.py index e2aea34..e8edbcf 100644 --- a/selfprivacy_api/graphql/mutations/services_mutations.py +++ b/selfprivacy_api/graphql/mutations/services_mutations.py @@ -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),