Handle error for Jruby build