Skip to content

Commit 1c54ceb

Browse files
committed
fix(events): re-support v3 LOAD_FAILED endreason
1 parent fb529bf commit 1c54ceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mafic/events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def __init__(
133133
reason = payload["reason"]
134134
if reason.isupper():
135135
reason = reason.lower()
136-
if reason == "loadfailed":
136+
if reason == "load_failed":
137137
# Only case this happens, not worth a regex sub.
138138
reason = "loadFailed"
139139
self.reason: EndReason = EndReason(reason)

0 commit comments

Comments
 (0)