Added logging to the most toplevel except

This library conveniently threw errors to the clients that used
this server`, for our sentry logging to be effective it should
also be logged to a logger.