Open begincalendar opened 3 years ago
The linked issue isn't related, we're not using matrix-python-sdk and the traceback points to one of our own files.
https://github.com/matrix-org/pantalaimon/pull/100 fixes this.
I wasn't sure if it was a coincidence that they both were occurring simultaneously or if there was a connection, so I just linked them in case.
Describe the bug Started getting this stacktrace in my log file:
I added a
log.error()
statement to print the contents ofbody
and got:It appears as though the parsing of
body
assumes that thedict
keys will always be present.I replaced the lookups with
.get()
calls and that seemed to fix the issue.To Reproduce Unfortunately I don't have a set of steps, this just started cropping up.
Expected behavior More robust
dict
parsing.Additional context I don't know if this is related to this issue that was occurring at the same time: matrix-org/matrix-python-sdk#320