Commit f6e05274 authored by Steven Allen's avatar Steven Allen

fix(prq): remove error logs for normal conditions

parent 6407817b
......@@ -406,12 +406,12 @@ func (crm *cancelRequestMessage) debugMessage() string {
func (crm *cancelRequestMessage) handle(pqm *ProviderQueryManager) {
requestStatus, ok := pqm.inProgressRequestStatuses[crm.k]
if !ok {
log.Errorf("Attempt to cancel request for cid (%s) not in progress", crm.k.String())
// Request finished while queued.
return
}
_, ok = requestStatus.listeners[crm.incomingProviders]
if !ok {
log.Errorf("Attempt to cancel request for for cid (%s) this is not a listener", crm.k.String())
// Request finished and _restarted_ while queued.
return
}
delete(requestStatus.listeners, crm.incomingProviders)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment