From dbe0713b85b8fb4ed4c12e10ff5347f3e9ab8cd2 Mon Sep 17 00:00:00 2001 From: Dalia Cervantes Date: Thu, 7 Nov 2024 10:37:49 -0600 Subject: [PATCH] Changing error message --- internal/api/controllers/private/runsCreateActions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/controllers/private/runsCreateActions.go b/internal/api/controllers/private/runsCreateActions.go index 06fece0b..6b68ff1b 100644 --- a/internal/api/controllers/private/runsCreateActions.go +++ b/internal/api/controllers/private/runsCreateActions.go @@ -142,7 +142,7 @@ func handleRunCreateError(err error) *RunCreated { return runCreateError(http.StatusBadRequest,"Block listed org") } - return runCreateError(http.StatusInternalServerError,"Host Disconnected") + return runCreateError(http.StatusInternalServerError,"Unexpected error during processing") } func runCreated(runID uuid.UUID) *RunCreated {