aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/httpserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zenhttp/httpserver.cpp')
-rw-r--r--zenhttp/httpserver.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/zenhttp/httpserver.cpp b/zenhttp/httpserver.cpp
index e283f31c9..e9baf2e49 100644
--- a/zenhttp/httpserver.cpp
+++ b/zenhttp/httpserver.cpp
@@ -266,17 +266,10 @@ HttpServerRequest::ReadPayloadPackage()
//////////////////////////////////////////////////////////////////////////
-HttpServerException::HttpServerException(const char* Message, uint32_t Error) : m_ErrorCode(Error)
-{
- using namespace fmt::literals;
-
- m_Message = "{} (HTTP error {})"_format(Message, m_ErrorCode);
-}
-
const char*
HttpServerException::what() const
{
- return m_Message.c_str();
+ return m_What.c_str();
}
//////////////////////////////////////////////////////////////////////////