Avoid key error on already popped cancel

epoch_index_backup
Tyler Goodlet 2022-11-25 16:40:58 -05:00
parent 42faaa9870
commit d839fcb8e7
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