@mvogiatzis Do @revans2 's comments make sense?

You are on the right track, but the function isn't actually getting invoked.

If the error reporting function is rethrowing, then catching throwable should be okay (since it would then bubble up the stack).

I'll try to take a closer look when I have better access to the source code (not on a phone).