Skip to content

Conversation

olevinsky
Copy link
Contributor

I got this error while processing log request:

Traceback (most recent call last):
  File "/home/sentry/envs/sentry/lib/python2.7/site-packages/sentry/utils/safe.py", line 16, in safe_execute
    result = func(*args, **kwargs)
  File "/home/sentry/envs/sentry/lib/python2.7/site-packages/sentry/plugins/bases/notify.py", line 184, in post_process
    if not self.should_notify(group, event):
  File "/home/sentry/envs/sentry/lib/python2.7/site-packages/sentry/plugins/bases/notify.py", line 168, in should_notify
    if not any(v in allowed_tags.get(k) for k, v in tags):
  File "/home/sentry/envs/sentry/lib/python2.7/site-packages/sentry/plugins/bases/notify.py", line 168, in <genexpr>
    if not any(v in allowed_tags.get(k) for k, v in tags):
TypeError: argument of type 'NoneType' is not iterable
Error processing 'post_process' on 'MailProcessor': argument of type 'NoneType' is not iterable

allowed_tags.get(k)

can return None

dcramer added a commit that referenced this pull request Mar 12, 2013
Fixed iterating by NoneType object
@dcramer dcramer merged commit 2368c3a into getsentry:master Mar 12, 2013
@github-actions github-actions bot locked and limited conversation to collaborators Dec 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants