Skip to content

Better messaging with NameErrors#1506

Merged
headius merged 1 commit intojruby:jruby-1_7from
jhspaybar:explicitloaderrordescriptions
Feb 26, 2014
Merged

Better messaging with NameErrors#1506
headius merged 1 commit intojruby:jruby-1_7from
jhspaybar:explicitloaderrordescriptions

Conversation

@jhspaybar
Copy link
Contributor

provide a pass through of the java error for easier debugging when jars actually exist but a name error manifests anyways

Makes something like this https://gist.github.com/adamstegman/5077010 far easier to debug. I also ran into on my own project attempting to load jars that had a JVM Security Policy violation.

This if my first pull request, so if I did something wrong, let me know.

I consent to having my contributions licensed under EPL, GPLv2, and LGPLv2.

…rs actually exist but a name error manifests anyways
@headius
Copy link
Member

headius commented Feb 26, 2014

Seems good. Well probably audit these error messages for 9k to make them all consistently useful.

headius added a commit that referenced this pull request Feb 26, 2014
@headius headius merged commit f19bc66 into jruby:jruby-1_7 Feb 26, 2014
@headius headius added this to the JRuby 1.7.12 milestone Feb 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants