VC/Zoom: Only log unhandled room webhooks as DEBUG

This happens a lot when people create zoom rooms outside indico
This commit is contained in:
Adrian Moennich 2020-11-30 12:32:50 +01:00
parent ccd1db378d
commit 0d305bcd22

View File

@ -56,7 +56,8 @@ class RHWebhook(RH):
vc_room = VCRoom.query.filter(VCRoom.data.contains({'zoom_id': meeting_id})).first()
if not vc_room:
current_plugin.logger.warning('Action for unhandled Zoom room: %s', meeting_id)
# This usually happens when a room wasn't created via indico
current_plugin.logger.debug('Action for unhandled Zoom room: %s', meeting_id)
return
if event in {'meeting.updated', 'webinar.updated', 'meeting.deleted', 'webinar.deleted'}: