Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event.from_event causes IndexError for events which do not have a category #44

Open
RyanBalfanz opened this issue Dec 1, 2012 · 0 comments
Assignees
Milestone

Comments

@RyanBalfanz
Copy link
Owner

IndexError: list index out of range

Stacktrace (most recent call last):

  File "django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "django/views/decorators/csrf.py", line 77, in wrapped_view
    return view_func(*args, **kwargs)
  File "sendgrid/views.py", line 134, in listener
    response = handle_single_event_request(request)
  File "sendgrid/views.py", line 48, in handle_single_event_request
    emailMessage = EmailMessage.from_event(eventData)
  File "sendgrid/models.py", line 216, in from_event
    "category": categories[0],
@ghost ghost assigned RyanBalfanz Dec 1, 2012
hoddez pushed a commit that referenced this issue Dec 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant