diff --git a/rhodecode/integrations/types/hipchat.py b/rhodecode/integrations/types/hipchat.py --- a/rhodecode/integrations/types/hipchat.py +++ b/rhodecode/integrations/types/hipchat.py @@ -122,8 +122,10 @@ class HipchatIntegrationType(Integration log.debug('event not valid: %r', event) return - if event.name not in self.settings['events']: - log.debug('event ignored: %r', event) + allowed_events = self.settings['events'] + if event.name not in allowed_events: + log.debug('event ignored: %r event %s not in allowed events %s', + event, event.name, allowed_events) return data = event.as_dict() diff --git a/rhodecode/integrations/types/slack.py b/rhodecode/integrations/types/slack.py --- a/rhodecode/integrations/types/slack.py +++ b/rhodecode/integrations/types/slack.py @@ -138,8 +138,10 @@ class SlackIntegrationType(IntegrationTy log.debug('event not valid: %r', event) return - if event.name not in self.settings['events']: - log.debug('event ignored: %r', event) + allowed_events = self.settings['events'] + if event.name not in allowed_events: + log.debug('event ignored: %r event %s not in allowed events %s', + event, event.name, allowed_events) return data = event.as_dict() diff --git a/rhodecode/integrations/types/webhook.py b/rhodecode/integrations/types/webhook.py --- a/rhodecode/integrations/types/webhook.py +++ b/rhodecode/integrations/types/webhook.py @@ -170,8 +170,10 @@ class WebhookIntegrationType(Integration log.debug('event not valid: %r', event) return - if event.name not in self.settings['events']: - log.debug('event ignored: %r', event) + allowed_events = self.settings['events'] + if event.name not in allowed_events: + log.debug('event ignored: %r event %s not in allowed events %s', + event, event.name, allowed_events) return data = event.as_dict()