Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't NPE when config option is not specified #269

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

pratikmallya
Copy link

When some of the options are incorrectly specified, jack will
throw an NPE when trying to craft a user-friendly error message.

You can see this in the current version by not specifying the
adaptor parameter.

This change attempts to avoid such an error by not failing when
crafting an exception error message.

  • Add unit tests

When some of the options are incorrectly specified, jack will
throw an NPE when trying to craft a user-friendly error message.

You can see this in the current version by not specifying the
`adaptor` parameter.

This change attempts to avoid such an error by not failing when
crafting an exception error message.
@pratikmallya pratikmallya added the change/standard Trivial / minor changes that are low-impact, low risk label Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change/standard Trivial / minor changes that are low-impact, low risk
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant