Closed shinnlok closed 3 years ago
Deploy request for build-a-thing-video pending review.
Review with commit bec2e394ad8939cafb92219e1eee5d7253e2665b
Does this change actually alter behaviour? My understanding is that if there's an error it will reject and the following line does not run.
I may be mistaken though.
@phazonoverload Promise reject does not throw an exception. If the value isn't return, then the value is ignored and the rest of the control flow continues.
Today I learnt. Thanks for that! I review PRs live on my show Build a Thing - next is a week today at 6PM UK time.
Please check if the PR fulfills these requirements
[x] You've followed the contributing guidelines
[x] You've adheared the code of conduct
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
[x] Bug Fix
If bug fixes or new features
Found your repo via
hacktoberfest
and while poking around I wasn't sure why the setup wasn't working. After digging around, I realized that I put in the wrongVIDEO_KEY
andVIDEO_SECRET
(same as https://github.com/opentok/opentok-node/issues/208).This exception wasn't helpful:
Properly handle and not swallow the exception: