update: write all exceptions to log file, no more printing to console.