-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for: No response on wrong Cloudant credentials.
- Loading branch information
Orit Prince
committed
Oct 9, 2016
1 parent
f2f3a7d
commit d36de1b
Showing
1 changed file
with
52 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d36de1b
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.
When wrong credentials are set for Cloudant In node, the error is reported only during node initiation.
Later, when flow is executed, no error is thrown or reported, and flow hangs because it has no definition for callback function of node.on("input",).
I have fixed it so node.on("input",) is defined always, even when cloudant connection does not success.