Avoid key error on already popped cancel

samplerd_service
Tyler Goodlet 2022-11-25 16:40:58 -05:00
parent 8e1ceca43d
commit a5bb33b0ff
1 changed files with 1 additions and 1 deletions

View File

@ -866,7 +866,7 @@ async def translate_and_relay_brokerd_events(
elif status == 'canceled':
log.cancel(f'Cancellation for {oid} is complete!')
status_msg = book._active.pop(oid)
status_msg = book._active.pop(oid, None)
else: # open
# relayed from backend but probably not handled so