From b8a0422f65a93a45646d5896441840a640794135 Mon Sep 17 00:00:00 2001 From: Eddasol Date: Tue, 8 Oct 2024 07:58:35 +0200 Subject: [PATCH] Fix error message --- backend/api/Services/MissionSchedulingService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/api/Services/MissionSchedulingService.cs b/backend/api/Services/MissionSchedulingService.cs index e87cdba75..72afa4906 100644 --- a/backend/api/Services/MissionSchedulingService.cs +++ b/backend/api/Services/MissionSchedulingService.cs @@ -155,7 +155,7 @@ or MissionRunNotFoundException missionRun.Id, ex.Message ); - await missionRunService.SetMissionRunToFailed(missionRun.Id, "Mission run {MissionRunId} was not started successfully due to {ErrorMessage}"); + await missionRunService.SetMissionRunToFailed(missionRun.Id, $"Mission run '{missionRun.Id}' was not started successfully due to '{ex.Message}'"); } }