Add log_exc_printf() with stack trace

This commit is contained in:
Michael Davidsaver
2020-04-03 10:21:46 -07:00
parent 5f244c1b88
commit facb18ae00
11 changed files with 38 additions and 19 deletions
+1 -1
View File
@@ -402,7 +402,7 @@ void Connection::tickEchoS(evutil_socket_t fd, short evt, void *raw)
try {
static_cast<Connection*>(raw)->tickEcho();
}catch(std::exception& e){
log_crit_printf(io, "Unhandled error in echo timer callback: %s\n", e.what());
log_exc_printf(io, "Unhandled error in echo timer callback: %s\n", e.what());
}
}