From 0d305bcd2240f2dc46fcc8ffb586068a3382f5a7 Mon Sep 17 00:00:00 2001 From: Adrian Moennich Date: Mon, 30 Nov 2020 12:32:50 +0100 Subject: [PATCH] VC/Zoom: Only log unhandled room webhooks as DEBUG This happens a lot when people create zoom rooms outside indico --- vc_zoom/indico_vc_zoom/controllers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vc_zoom/indico_vc_zoom/controllers.py b/vc_zoom/indico_vc_zoom/controllers.py index 43993b3..a36ef38 100644 --- a/vc_zoom/indico_vc_zoom/controllers.py +++ b/vc_zoom/indico_vc_zoom/controllers.py @@ -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'}: