log any exception