Added posibility to set hook in case of exception thrown during sending ...

I needed some more insight into why some of exceptions were not sent to Sentry, so I've added simple hook that let's me get and log this exception to a file.
Maybe you would be interested as well.