Merge pull request #19597 from kepstin/issue-19178-workaround
recording: work around invalid locale in caption events
This commit is contained in:
commit
5f963c4465
@ -383,6 +383,11 @@ def parse_events(directory="."):
|
||||
have_record_events = True
|
||||
elif name == "EditCaptionHistoryEvent":
|
||||
parse_caption_edit(event, element)
|
||||
if event["locale"] is None:
|
||||
logger.warn(
|
||||
"Skipping invalid caption event with unset locale. See https://github.com/bigbluebutton/bigbluebutton/issues/19178 for details"
|
||||
)
|
||||
continue
|
||||
else:
|
||||
logger.debug("Unhandled event: %s", name)
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user