Fix error handling in db migrations due to upgrade to JRuby 1.7