diff options
author | Håvard Pettersen <havardpe@oath.com> | 2019-01-04 12:15:13 +0000 |
---|---|---|
committer | Håvard Pettersen <havardpe@oath.com> | 2019-01-04 12:15:13 +0000 |
commit | 2edced369b10bbf7ce895f753fc82d2901e58ff5 (patch) | |
tree | ffe164c691266996b49a14af2a732c3d43ec8d90 | |
parent | 7ca11f67d16409bce59a468e1d90029b7374f930 (diff) |
log status server exceptions
-rw-r--r-- | storage/src/vespa/storage/frameworkimpl/status/statuswebserver.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/src/vespa/storage/frameworkimpl/status/statuswebserver.cpp b/storage/src/vespa/storage/frameworkimpl/status/statuswebserver.cpp index 3bfd1f9639f..1d3827d9971 100644 --- a/storage/src/vespa/storage/frameworkimpl/status/statuswebserver.cpp +++ b/storage/src/vespa/storage/frameworkimpl/status/statuswebserver.cpp @@ -172,6 +172,7 @@ StatusWebServer::handlePage(const framework::HttpUrlPath& urlpath, vespalib::Por request.respond_with_error(404, "Not Found"); } } catch (std::exception &e) { + LOG(warning, "Internal Server Error: %s", e.what()); request.respond_with_error(500, "Internal Server Error"); } } else { |