work around jrubys stack trace being different