Error handeling on rake tasks and whatnot