clang
Advanced tools
Comparing version 0.1.13 to 0.1.14
@@ -259,3 +259,7 @@ var _ = require('lodash'); | ||
if (result.msg === null) { | ||
return callback(new Error('No SOAP Fault, but result msg is null (unexpected): ' + JSON.stringify(result.msg))); | ||
// this occurs for example when doing a customer_getByExternalId with a externalId that is not found | ||
if (config.debug) { | ||
console.log('No records found in SOAP response (msg=null)'); | ||
} | ||
return callback(null, []); | ||
} | ||
@@ -262,0 +266,0 @@ if (result.msg === undefined) { |
{ | ||
"name": "clang", | ||
"version": "0.1.13", | ||
"version": "0.1.14", | ||
"description": "Node.js api wrapper for Clang's SOAP api", | ||
@@ -5,0 +5,0 @@ "author": "Christiaan Westerbeek <chris@devotis.nl>", |
228164
6615