summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorHåvard Pettersen <havardpe@oath.com>2019-01-04 12:15:13 +0000
committerHåvard Pettersen <havardpe@oath.com>2019-01-04 12:15:13 +0000
commit2edced369b10bbf7ce895f753fc82d2901e58ff5 (patch)
treeffe164c691266996b49a14af2a732c3d43ec8d90 /storage
parent7ca11f67d16409bce59a468e1d90029b7374f930 (diff)
log status server exceptions
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/frameworkimpl/status/statuswebserver.cpp1
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 {