sangoma / switchy

async FreeSWITCH cluster control
https://switchy.readthedocs.io/en/latest/
Mozilla Public License 2.0
69 stars 18 forks source link

Callback errors should not interrupt the call chain #32

Closed goodboy closed 8 years ago

goodboy commented 8 years ago

Currently due to the lack of a try: block here if any callback errors out, all downstream calls aren't invoked...

Adding the try should solve it of course.

Also we should also use self.log.exception in the exception handler both of the new block above as well as here.