Not loging all the response from the exchanges
This commit is contained in:
1 parent
f64c92ef55
commit
4d04098154
1 file changed
+2
-2
@@ -6,7 +6,7 @@
|
||||
*/
|
||||
|
||||
const FULL_LOG = true;
|
||||
const LOG_FILE_CONTENT = true;
|
||||
const LOG_FILE_CONTENT = false;
|
||||
const MODULE_NAME = "poloniexClient";
|
||||
|
||||
const retry = require('../exchangeUtils').retry;
|
||||
@@ -300,7 +300,7 @@
|
||||
|
||||
try {
|
||||
if (FULL_LOG === true) { logger.write(MODULE_NAME, "[INFO] analizeResponse -> exchangeErr = " + stringExchangeErr); }
|
||||
if (FULL_LOG === true) { logger.write(MODULE_NAME, "[INFO] analizeResponse -> exchangeResponse = " + stringExchangeResponse); }
|
||||
if (LOG_FILE_CONTENT === true) { logger.write(MODULE_NAME, "[INFO] analizeResponse -> exchangeResponse = " + stringExchangeResponse); }
|
||||
|
||||
if (exchangeErr) {
|
||||
error = global.DEFAULT_FAIL_RESPONSE;
|
||||
|
||||
Reference in new issue
Block a user