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

Call callback even if there is exception #135

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

Conversation

syuraj
Copy link

@syuraj syuraj commented Aug 19, 2019

No description provided.

}

var soapError;
var soapBody = res['soap:Envelope']['soap:Body'];
Copy link
Author

Choose a reason for hiding this comment

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

I was getting exception from here when res['soap:Envelope'] is null when res is <h1>596 Service Not Found</h1>

callback(err, null);
return;
}
try{
Copy link
Author

Choose a reason for hiding this comment

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

try, catch is the only change in this pr

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

1 participant