write all catched exception messages to the log