Skip to content
Permalink
Browse files

Reformat errmsg for uniformity

  • Loading branch information...
hyc committed Jun 16, 2019
1 parent 2039d4a commit 6ffbfe256aa2d8f78c6478e64227d856a7f370bb
Showing with 2 additions and 2 deletions.
  1. +2 −2 contrib/epee/include/net/http_server_handlers_map2.h
@@ -71,7 +71,7 @@
MINFO(m_conn_context << "calling " << s_pattern); \
if(!callback_f(static_cast<command_type::request&>(req), static_cast<command_type::response&>(resp), &m_conn_context)) \
{ \
LOG_ERROR("Failed to " << #callback_f << "() for Host " << m_conn_context.m_remote_address.host_str()); \
MERROR(m_conn_context << "Failed to " << #callback_f << "()"); \
response_info.m_response_code = 500; \
response_info.m_response_comment = "Internal Server Error"; \
return true; \
@@ -99,7 +99,7 @@
MINFO(m_conn_context << "calling " << s_pattern); \
if(!callback_f(static_cast<command_type::request&>(req), static_cast<command_type::response&>(resp), &m_conn_context)) \
{ \
LOG_ERROR("Failed to " << #callback_f << "() for Host " << m_conn_context.m_remote_address.host_str()); \
MERROR(m_conn_context << "Failed to " << #callback_f << "()"); \
response_info.m_response_code = 500; \
response_info.m_response_comment = "Internal Server Error"; \
return true; \

0 comments on commit 6ffbfe2

Please sign in to comment.
You can’t perform that action at this time.