servers: log more diagnostic information on caught std::exception
This commit is contained in:
parent
73e492cc26
commit
44f18ea01c
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ int server_base::run() {
|
|||
} catch(const boost::system::system_error& e) {
|
||||
ERR_SERVER << "Caught system error exception from handler: " << e.code().message() << "\n";
|
||||
} catch(const std::exception& e) {
|
||||
ERR_SERVER << "Caught exception from handler: " << e.what() << "\n";
|
||||
ERR_SERVER << "Caught exception from handler: " << e.what() << "\n" << boost::current_exception_diagnostic_information() << "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue