remote file:line from decode errors
This commit is contained in:
+2
-1
@@ -430,7 +430,8 @@ void Connection::handle_MONITOR()
|
||||
}
|
||||
|
||||
if(!M.good() || !mon) {
|
||||
log_crit_printf(io, "Server %s sends invalid MONITOR. Disconnecting...\n", peerName.c_str());
|
||||
log_crit_printf(io, "%s:%d Server %s sends invalid MONITOR. Disconnecting...\n",
|
||||
M.file(), M.line(), peerName.c_str());
|
||||
bev.reset();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user