Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Update docusign.js #518

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

sudo-tc
Copy link
Collaborator

@sudo-tc sudo-tc commented Feb 14, 2018

FYI: @ajefts @mtwomey this is the quick fix I made to V2 production. If you think is safe, please merge.

Fix for production issue getting following error and node.js crashes.


/home/node/tc-api/actions/docusign.js:418
textTabs.push({tabLabel : 'TopCoder Handle', value: user.handle});
^
TypeError: Cannot read property 'handle' of undefined
at async.waterfall.envelopeId (/home/node/tc-api/actions/docusign.js:418:77)
at fn (/home/node/tc-api/node_modules/async/lib/async.js:582:34)
at Object._onImmediate (/home/node/tc-api/node_modules/async/lib/async.js:498:34)
at processImmediate [as _immediateCallback] (timers.js:345:15)

Fix for production issue getting following error and node.js crashes.

--------
/home/node/tc-api/actions/docusign.js:418
           textTabs.push({tabLabel : 'TopCoder Handle', value: user.handle});
                                                                   ^
TypeError: Cannot read property 'handle' of undefined
   at async.waterfall.envelopeId (/home/node/tc-api/actions/docusign.js:418:77)
   at fn (/home/node/tc-api/node_modules/async/lib/async.js:582:34)
   at Object._onImmediate (/home/node/tc-api/node_modules/async/lib/async.js:498:34)
   at processImmediate [as _immediateCallback] (timers.js:345:15)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant