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

cli: refine error messages #135

Closed
wants to merge 1 commit into from
Closed

cli: refine error messages #135

wants to merge 1 commit into from

Conversation

lundibundi
Copy link
Member

  • make all missing argument errors conform to single style
  • report error on missing host/port, {method,event} name

@lundibundi lundibundi added the cli label May 6, 2017
@lundibundi lundibundi self-assigned this May 6, 2017
Copy link
Member

@aqrln aqrln left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

}
const args = _split(tokens, ' ', 2);
const [host, port] = _split(args[0], ':');
if (port === undefined) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here host can be undefined as well.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@belochub done

* make all missing argument errors conform to single style
* report error on missing host/port, {method,event} name
Copy link
Member

@belochub belochub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

belochub pushed a commit that referenced this pull request May 6, 2017
* Make all missing argument errors conform to single style.
* Report error on missing host/port, {method,event} name.

PR-URL: #135
Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
Reviewed-By: Mykola Bilochub <nbelochub@gmail.com>
@belochub
Copy link
Member

belochub commented May 6, 2017

Landed in 3c039d2.

@belochub belochub closed this May 6, 2017
@belochub belochub deleted the refine-input-errors branch May 6, 2017 01:23
belochub pushed a commit that referenced this pull request Jan 22, 2018
* Make all missing argument errors conform to single style.
* Report error on missing host/port, {method,event} name.

PR-URL: #135
Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
Reviewed-By: Mykola Bilochub <nbelochub@gmail.com>
belochub pushed a commit that referenced this pull request Jan 22, 2018
* Make all missing argument errors conform to single style.
* Report error on missing host/port, {method,event} name.

PR-URL: #135
Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
Reviewed-By: Mykola Bilochub <nbelochub@gmail.com>
@belochub belochub mentioned this pull request Jan 22, 2018
belochub pushed a commit to metarhia/mdsf that referenced this pull request Jul 19, 2018
* Make all missing argument errors conform to single style.
* Report error on missing host/port, {method,event} name.

PR-URL: metarhia/jstp#135
Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
Reviewed-By: Mykola Bilochub <nbelochub@gmail.com>
belochub pushed a commit to metarhia/mdsf that referenced this pull request Jul 19, 2018
* Make all missing argument errors conform to single style.
* Report error on missing host/port, {method,event} name.

PR-URL: metarhia/jstp#135
Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
Reviewed-By: Mykola Bilochub <nbelochub@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants