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

Fixed Uncaught TypeError #191

Closed
wants to merge 1 commit into from
Closed

Conversation

@ArtskydJ
Copy link
Contributor

ArtskydJ commented Nov 27, 2014

I was getting Uncaught TypeError: Cannot read property 'name' of undefined with client.seed(files) in the browser.

The error was being thrown in the createTorrent module: opts.name is read from without checking if opts exists. Should this fix should go in the create-torrent module?

I was getting `Uncaught TypeError: Cannot read property 'name' of undefined`
with `client.seed(files)` in the browser.

In `createTorrent`, opts.name is read from without checking if opts exists. (Maybe this fix should go in the `create-torrent` module?)
@feross

This comment has been minimized.

Copy link
Member

feross commented Nov 27, 2014

Thanks for the PR! I made this change in webtorrent/create-torrent@08e11a5

@feross feross closed this Nov 27, 2014
@lock lock bot locked as resolved and limited conversation to collaborators May 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.