Show More
@@ -122,8 +122,10 b' class HipchatIntegrationType(Integration' | |||
|
122 | 122 | log.debug('event not valid: %r', event) |
|
123 | 123 | return |
|
124 | 124 | |
|
125 |
|
|
|
126 | log.debug('event ignored: %r', event) | |
|
125 | allowed_events = self.settings['events'] | |
|
126 | if event.name not in allowed_events: | |
|
127 | log.debug('event ignored: %r event %s not in allowed events %s', | |
|
128 | event, event.name, allowed_events) | |
|
127 | 129 | return |
|
128 | 130 | |
|
129 | 131 | data = event.as_dict() |
@@ -138,8 +138,10 b' class SlackIntegrationType(IntegrationTy' | |||
|
138 | 138 | log.debug('event not valid: %r', event) |
|
139 | 139 | return |
|
140 | 140 | |
|
141 |
|
|
|
142 | log.debug('event ignored: %r', event) | |
|
141 | allowed_events = self.settings['events'] | |
|
142 | if event.name not in allowed_events: | |
|
143 | log.debug('event ignored: %r event %s not in allowed events %s', | |
|
144 | event, event.name, allowed_events) | |
|
143 | 145 | return |
|
144 | 146 | |
|
145 | 147 | data = event.as_dict() |
@@ -170,8 +170,10 b' class WebhookIntegrationType(Integration' | |||
|
170 | 170 | log.debug('event not valid: %r', event) |
|
171 | 171 | return |
|
172 | 172 | |
|
173 |
|
|
|
174 | log.debug('event ignored: %r', event) | |
|
173 | allowed_events = self.settings['events'] | |
|
174 | if event.name not in allowed_events: | |
|
175 | log.debug('event ignored: %r event %s not in allowed events %s', | |
|
176 | event, event.name, allowed_events) | |
|
175 | 177 | return |
|
176 | 178 | |
|
177 | 179 | data = event.as_dict() |
General Comments 0
You need to be logged in to leave comments.
Login now