From 2a4dc93ab95d0d64c98c7e35544a0364afb36616 Mon Sep 17 00:00:00 2001 From: David Banham Date: Tue, 7 Mar 2017 16:14:23 +1100 Subject: [PATCH] Add missing space to error message --- lib/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/application.js b/lib/application.js index 693441e3..41b25f7d 100644 --- a/lib/application.js +++ b/lib/application.js @@ -130,7 +130,7 @@ _.extend(Application.prototype, { exception = obj.ApiException; else if (obj.Response.ErrorNumber) exception = obj.Response; - var errObj = new Error(method.toUpperCase() + 'call failed with: ' + err.statusCode + ' and exception: ' + JSON.stringify(exception, null, 2)); + var errObj = new Error(method.toUpperCase() + ' call failed with: ' + err.statusCode + ' and exception: ' + JSON.stringify(exception, null, 2)); deferred.reject(errObj); callback && callback(errObj); } else {