Made it so bot will log exceptions to the logfile instead of console