diff options
Diffstat (limited to 'src/lib/http_server.cc')
| -rw-r--r-- | src/lib/http_server.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/http_server.cc b/src/lib/http_server.cc index 5ca7a5298..3dab26d1e 100644 --- a/src/lib/http_server.cc +++ b/src/lib/http_server.cc @@ -153,7 +153,7 @@ HTTPServer::request(vector<string> const& request) } catch (std::exception& e) { LOG_ERROR("Error while handling HTTP request: {}", e.what()); } catch (...) { - LOG_ERROR_NC("Unknown exception while handling HTTP request"); + LOG_ERROR("Unknown exception while handling HTTP request"); } LOG_HTTP("404 {}", parts[0]); @@ -242,7 +242,7 @@ HTTPServer::handle(shared_ptr<Socket> socket) auto response = request(reader.get()); response.send(socket); } catch (runtime_error& e) { - LOG_ERROR_NC(e.what()); + LOG_ERROR(e.what()); } } |
