Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[FOLD] add beast message to log
  • Loading branch information
CJ Cobb committed Sep 29, 2022
commit ff07b666a06f98d4918902c0b4d50bab2c177694
6 changes: 4 additions & 2 deletions src/webserver/Listener.h
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,8 @@ class Listener
if (ec)
{
BOOST_LOG_TRIVIAL(error)
<< "Failed to bind to endpoint: " << endpoint;
<< "Failed to bind to endpoint: " << endpoint
<< ". message: " << ec.message();
throw std::runtime_error("Failed to bind to specified endpoint");
}

Expand All @@ -250,7 +251,8 @@ class Listener
if (ec)
{
BOOST_LOG_TRIVIAL(error)
<< "Failed to listen at endpoint: " << endpoint;
<< "Failed to listen at endpoint: " << endpoint
<< ". message: " << ec.message();
throw std::runtime_error("Failed to listen at specified endpoint");
}
}
Expand Down