-
Notifications
You must be signed in to change notification settings - Fork 10
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
Conversation
lundibundi
commented
May 6, 2017
- make all missing argument errors conform to single style
- report error on missing host/port, {method,event} name
There was a problem hiding this 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) { |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
a06f8c6
to
6037b5b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* 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>
Landed in 3c039d2. |
* 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>
* 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>
* 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>
* 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>