Skip to content

Commit 50d7464

Browse files
fix(warteraum): differentiate response logic error from regular 500
Now that such cases are logged, it is helpful to be more specific.
1 parent 392f4f1 commit 50d7464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

warteraum/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ void response_error(enum warteraum_result e, http_request_t *request, http_respo
9595
// response_error should never be called with
9696
// WARTERAUM_OK, so this is considered a error 500
9797
const http_string_t errors[] = {
98-
STATIC_HTTP_STRING("internal server error"),
98+
STATIC_HTTP_STRING("error response was triggered unexpectedly"),
9999
STATIC_HTTP_STRING("bad request"),
100100
STATIC_HTTP_STRING("unauthorized"),
101101
STATIC_HTTP_STRING("endpoint not found"),

0 commit comments

Comments
 (0)