If an exception were to be unhandled, wouldn't we lose all of these error messages?
Perhaps writing them as they happen would be better?