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

Terminating CLI using Control-C should not print "Unexpected error" message #497

Closed
feross opened this issue Dec 1, 2015 · 0 comments
Closed
Labels
bug

Comments

@feross
Copy link
Member

@feross feross commented Dec 1, 2015

Something must have changed in Node 4 or 5. Terminating a script with Control-C no longer returns exit code 0, so this message gets printed:

UNEXPECTED ERROR: If this is a bug in WebTorrent, report it!
OPEN AN ISSUE: https://github.com/feross/webtorrent/issues
@feross feross added cli bug labels Dec 1, 2015
@feross feross closed this in 3daf129 Dec 2, 2015
feross added a commit that referenced this issue Dec 2, 2015
cli: Using Control-C should not print "Unexpected error" message (Fix #497)
@lock lock bot locked as resolved and limited conversation to collaborators May 5, 2018
bricewge pushed a commit to bricewge/webtorrent that referenced this issue May 11, 2018
…ebtorrent#497)

Terminating a script with Control-C returns exit code 130 in new
versions of node.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.