xcode: capture file:line of fault()

This commit is contained in:
Michael Davidsaver
2021-01-12 11:09:07 -08:00
parent 0356eee740
commit 76764cf978
12 changed files with 65 additions and 57 deletions
+2 -2
View File
@@ -411,7 +411,7 @@ void Connection::handle_MONITOR()
if(uint8_t(op->op)!=CMD_MONITOR) {
// peer mixes up IOID and operation type
M.fault();
M.fault(__FILE__, __LINE__);
} else {
mon = static_cast<SubscriptionImpl*>(op.get());
@@ -424,7 +424,7 @@ void Connection::handle_MONITOR()
} else if((mon->state==SubscriptionImpl::Running) && !init) {
} else {
M.fault();
M.fault(__FILE__, __LINE__);
}
}
}