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

Undescriptive error message in DeviceGenerator #335

Open
DallonTG opened this issue Feb 1, 2018 · 1 comment
Open

Undescriptive error message in DeviceGenerator #335

DallonTG opened this issue Feb 1, 2018 · 1 comment

Comments

@DallonTG
Copy link
Member

DallonTG commented Feb 1, 2018

Currently in the exitPrimitiveSite(List<String> tokens) method of DeviceGenerator.java, there is this block of code:

if (wire == null)
    System.out.println("There be an error here");

If wire is null, then a null pointer exception will occur on the next executed line anyway.

Instead of printing out this uninformative message, I think we should either print something more useful or remove the print statement entirely.

@trharoldsen
Copy link
Collaborator

It was probably an old debug message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants