mozilla-services / autopush

Python Web Push Server used by Mozilla
https://autopush.readthedocs.io/
Mozilla Public License 2.0
217 stars 34 forks source link

Bug/1388 #1389

Closed jrconlin closed 4 years ago

jrconlin commented 4 years ago

Closes #1388

A change in failure will raise an exception if called without a current Exception in the stack. This leads to undesired results. Changed base.py:write_error() to call self.log.error if no exception is present, but logging is required.

Testing

Unit tests altered to include a check.

Issue(s)

Closes #1388