airbrake / airbrake-python

Airbrake Python
MIT License
51 stars 24 forks source link

Move 'severity' field from errors[] to context #82

Closed whitphx closed 7 years ago

whitphx commented 7 years ago

Hello, thank you for the great work.

When I tried to use severity option, it didn't work. It seems that the API requires severity field placed in context field while this library places it in each errors[i] field.

This PR fixes that. Please check it.

Thank you.

zachgoldstein commented 7 years ago

@tuttieee Thanks for the PR! Apologies for the delay in reviewing, missed the notification here. I can confirm this is an issue and the fix works.

LGTM. Nice work, thanks a bunch for catching this!