Skip to content

Commit

Permalink
set provided status code (#11452)
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkoSekulic authored Oct 27, 2023
1 parent 468e2d6 commit a492f32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/Designer/Filters/ProblemDetailsUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static ProblemDetails GenerateProblemDetails(Exception ex, string customE
{
Title = $"{exceptionType} occured.",
Detail = ex.Message,
Status = (int)HttpStatusCode.Conflict,
Status = (int)statusCode,
Type = exceptionType
};
details.Extensions.Add("errorCode", customErrorCode);
Expand Down

0 comments on commit a492f32

Please sign in to comment.