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

Ambiguous uncaught error message #7

Open
nmanias opened this issue Aug 9, 2021 · 0 comments
Open

Ambiguous uncaught error message #7

nmanias opened this issue Aug 9, 2021 · 0 comments

Comments

@nmanias
Copy link

nmanias commented Aug 9, 2021

application_root_plugin = application_info["config"]["applicationRootPlugin"]

This line assumes that application["config"] exists. If a key already exists for an application on SERVER and the application is deleted and replaced, when you try the command:

hp -p plugin_name -s SERVER

you get the error:

NoMethodError: undefined method '[]' for nil:NilClass

Instead, could a warning be added to highlight the fact that application["config"] does not exist?

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

No branches or pull requests

1 participant