formatting and extra log_message
This commit is contained in:
parent
02d89fb4ad
commit
b72fe55acd
@ -373,9 +373,12 @@ BAD_REQUEST_ERROR:
|
|||||||
safefree (url);
|
safefree (url);
|
||||||
url = reverse_url;
|
url = reverse_url;
|
||||||
} else if (config.reverseonly) {
|
} else if (config.reverseonly) {
|
||||||
|
log_message (LOG_ERR,
|
||||||
|
"Bad request, no mapping for '%s' found",
|
||||||
|
url);
|
||||||
indicate_http_error (connptr, 400, "Bad Request",
|
indicate_http_error (connptr, 400, "Bad Request",
|
||||||
"detail", "No mapping found for requested url",
|
"detail", "No mapping found for "
|
||||||
"url", url, NULL);
|
"requested url", "url", url, NULL);
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user