Skip to content

Commit

Permalink
Return HTTP 500 if we can't start an instance
Browse files Browse the repository at this point in the history
  • Loading branch information
drakon64 committed Dec 22, 2024
1 parent 050eed9 commit ce3de24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ktisis.Processor/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public static void Main()
case InstanceStatus.Running:
return Results.Ok();
case InstanceStatus.Terminated:
return Results.Problem();
return Results.InternalServerError();
}

await Task.Delay(1000);
Expand Down

0 comments on commit ce3de24

Please sign in to comment.