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

Port parameter passed in as string leads to misleading error #254

Open
rlindner81 opened this issue Dec 18, 2018 · 1 comment
Open

Port parameter passed in as string leads to misleading error #254

rlindner81 opened this issue Dec 18, 2018 · 1 comment

Comments

@rlindner81
Copy link

I just came across some really odd behavior with version 2.0.0. We pass in a port parameter from the commandline, so it ends up being a string, which used to work fine in previous connect versions.

Now, we get a

Fatal error: Port 1234 is already in use by another process.

which is both wrong and misleading. If I pass in the same variable as Number the behavior is as expected.

@vekonypeter
Copy link

vekonypeter commented Mar 19, 2019

I experienced the same. It could be ok, to throw an error, when the port number is not Number typed, but the error message is really misleading.

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

2 participants