remote file:line from decode errors

This commit is contained in:
Michael Davidsaver
2021-01-12 11:19:33 -08:00
parent 76764cf978
commit e9ce80880d
11 changed files with 39 additions and 25 deletions
+3 -1
View File
@@ -591,7 +591,9 @@ bool Context::Pvt::onSearch()
}
if(!M.good()) {
log_hex_printf(io, Level::Err, &searchMsg[0], nrx, "Invalid search reply %d from %s\n", nrx, src.tostring().c_str());
log_hex_printf(io, Level::Err, &searchMsg[0], nrx,
"%s:%d Invalid search reply %d from %s\n",
M.file(), M.line(), nrx, src.tostring().c_str());
}
return true;