Added error logging for exceptions

Never mind. I see we have another point of view on this.