Fix inline rescue syntax

Otherwise it fails in jruby with:
  "class or module required for rescue clause"

In MRI, it would still not work as intended, as it would try to match an exception to nil, so the rescue clause would never be triggered