Skip to content

Conversation

@borpin
Copy link
Contributor

@borpin borpin commented Apr 10, 2018

Issue #429

Modify timeout value from 1000 to 6000

Modify error message.

borpin added 2 commits April 10, 2018 09:56
Increase the HTTP Timeout values from 1000 to 6000.
Modify error message.
@coveralls
Copy link

coveralls commented Apr 10, 2018

Coverage Status

Coverage remained the same at 66.156% when pulling 6aa7d9c on borpin:borpin-patch-1 into d28c529 on node-red:master.

request.setTimeout(1000, function() {
node.error("timeout: " + msg);
request.setTimeout(6000, function() {
node.error(msg);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually the node.error ought to take two parameters, the text to show in the debug panel and the msg that caused the problem. so node.error("HTTP Timeout",msg);

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok great. Everyday a learning day...

@borpin
Copy link
Contributor Author

borpin commented Apr 10, 2018

@dceejay - Done.

@dceejay dceejay merged commit 99b83ea into node-red:master Apr 10, 2018
@dceejay
Copy link
Member

dceejay commented Apr 10, 2018

Thanks

@borpin borpin deleted the borpin-patch-1 branch April 10, 2018 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants