fastmail / Ix

automatic generation of JMAP-style APIs
GNU General Public License v2.0
10 stars 5 forks source link

Don't send a second empty-ish exception report when we throw an inter… #109

Closed wolfsage closed 6 years ago

wolfsage commented 6 years ago

…nal err

->internal_error reports an exception and then returns an Ix::Error::Internal object, which we would then throw, and Ix would catch it and report it as another exception, albeit a far less useful one.

Instead, just report the exception once, and move on.