Catch the error raised by the Rakefile and exit 1 if there is a failure