Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

add missing bind #88

Merged

Conversation

WithSecureSamiTikka
Copy link
Contributor

This should fix a rarely occurring error:

TypeError: Cannot call method 'soapRequest' of undefined
at /var/task/node_modules/fuelsdk-node/node_modules/fuel-soap/lib/fuel-soap.js:118:11

This should fix a rarely occurring error:

TypeError: Cannot call method 'soapRequest' of undefined
    at /var/task/node_modules/fuelsdk-node/node_modules/fuel-soap/lib/fuel-soap.js:118:11
@vernak2539
Copy link
Contributor

@FsecureSamiTikka great should be able to get this merged and released soon. If you wouldn't mind, when does this happen? As you said, it's pretty rare, but would be nice to know the cause

@vernak2539 vernak2539 merged commit bd07df9 into salesforce-marketingcloud:master Mar 31, 2016
@vernak2539
Copy link
Contributor

published as fuel-soap@1.3.1

@WithSecureSamiTikka
Copy link
Contributor Author

Not really sure when exactly it happens. I have this code running in a lambda function and I was investigating an error that seems to happen almost exactly every 24 hours. The error was in the commit message.

@dougwilson
Copy link

Based on where the .bind was added as the only places using the context in the function, it's on an error, token failure, and similar exceptional conditions.

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.

None yet

3 participants