Add more detail to error logs.
We get a syntax error message in the logs - but have no indication as to what in the config file caused this issue. Bringing back both more detail to the browser and logging the extended details. Signed-off-by: stellarpower <5004545+stellarpower@users.noreply.github.com> Change-Id: Ib8ddb20a1968f879558e59f50579ee4b18db0f09 Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
This commit is contained in:
parent
93638212b0
commit
b05b8e77cf
1 changed files with 1 additions and 1 deletions
|
@ -724,7 +724,7 @@ void FileServerRequestHandler::handleRequest(const HTTPRequest& request,
|
|||
{
|
||||
LOG_ERR("Incorrect config value: " << exc.displayText());
|
||||
sendError(500, request, socket, "500 - Internal Server Error!",
|
||||
"Cannot process the request");
|
||||
"Cannot process the request - " + exc.displayText());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue