Some typos from the last commit, put exceptions into the main log in addition to the db.