diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-12-05 21:36:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-12-05 21:36:53 +0100 |
| commit | 59e358ae25f84314afc6d8235aecaec124822f3f (patch) | |
| tree | 86a353b49bcc8b0cd5d3a9a4db4ca13e4f5f20f0 /src/lib/http_server.cc | |
| parent | 15add8826db680f0e1ad13246e0411d5f83f5296 (diff) | |
Cleanup: can now remove the _NC log variants.
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()); } } |
