Skip to content

Commit

Permalink
Move requirement errors to 501 Not Implemented.
Browse files Browse the repository at this point in the history
  • Loading branch information
apognu committed Feb 18, 2025
1 parent a10f3e7 commit 07111ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/present_error.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func presentError(ctx context.Context, c *gin.Context, err error) bool {
},
}

c.JSON(http.StatusInternalServerError, errorResponse)
c.JSON(http.StatusNotImplemented, errorResponse)
}

case errors.Is(err, context.DeadlineExceeded):
Expand Down

0 comments on commit 07111ba

Please sign in to comment.