This commit is contained in:
Necroneco 2025-02-25 09:43:31 +08:00 committed by GitHub
commit dd333eb7e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1213,10 +1213,12 @@ class MipsLocalClient(_MipsClient):
or 'did' not in msg or 'did' not in msg
or 'siid' not in msg or 'siid' not in msg
or 'eiid' not in msg or 'eiid' not in msg
or 'arguments' not in msg # or 'arguments' not in msg
): ):
# self.log_error(f'on_event_msg, recv unknown msg, {payload}') # self.log_error(f'on_event_msg, recv unknown msg, {payload}')
return return
if 'arguments' not in msg:
msg['arguments'] = []
if handler: if handler:
self.log_debug('local, on event_occurred, %s', payload) self.log_debug('local, on event_occurred, %s', payload)
handler(msg, ctx) handler(msg, ctx)