Logging exchange responses on error

This commit is contained in:
Luis Fernando Molina committed 2018-06-30 23:47:30 +02:00
1 parent df3d3bf2ac
commit c90650e860
1 file changed
+1 -1
+1 -1
View File
@@ -55,7 +55,7 @@
if (JSON.stringify(exchangeResponse).indexOf("error") > 0) {
logger.write( MODULE_NAME, "[ERROR] analizeResponse -> Unexpected response from the Exchange.");
logger.write(MODULE_NAME, "[ERROR] analizeResponse -> exchangeResponse = " + JSON.stringify(exchangeResponse);
logger.write(MODULE_NAME, "[ERROR] analizeResponse -> exchangeResponse = " + JSON.stringify(exchangeResponse));
notOkCallBack(window.DEFAULT_FAIL_RESPONSE);
return;
}