zenbot icon indicating copy to clipboard operation
zenbot copied to clipboard

x is undefined - crash in numbro.js

Open fishfugu opened this issue 9 years ago • 2 comments

Got this crash and error message while running for bittrex.btc-eth:

undefined undefined /zenbot/node_modules/numbro/numbro.js:1111 var parts = x.toString().split('.'); ^

TypeError: Cannot read property 'toString' of undefined at multiplier (/zenbot/node_modules/numbro/numbro.js:1111:22) at /zenbot/node_modules/numbro/numbro.js:1127:22 at Array.reduce (native) at correctionFactor (/modules/numbro/numbro.js:1197:47) at /zenbot/commands/trade.js:236:78 at /zenbot/lib/engine.js:191:14 at /zenbot/extensions/exchanges/bittrex/exchange.js:113:18 at Request._callback (/zenbot/node_modules/node.bittrex.api/node.bittrex.api.js:112:25) at self.callback (/zenbot/node_modules/node.bittrex.api/node_modules/request/request.js:188:22) at emitOne (events.js:96:13) at Request.emit (events.js:188:7) at Request.onRequestError (/zenbot/node_modules/node.bittrex.api/node_modules/request/request.js:884:8) at emitOne (events.js:96:13) at ClientRequest.emit (events.js:188:7) at TLSSocket.socketErrorListener (_http_client.js:310:9) at emitOne (events.js:96:13) at TLSSocket.emit (events.js:188:7) at connectErrorNT (net.js:1021:8) at _combinedTickCallback (internal/process/next_tick.js:80:11) at process._tickCallback (internal/process/next_tick.js:104:9)

fishfugu avatar Aug 14 '17 13:08 fishfugu

Actually - think this might be the same as #457

fishfugu avatar Aug 14 '17 13:08 fishfugu

Yes, it's a dupe. As it's not adding any new information I will be closing this ticket in lieu of the other.

DeviaVir avatar Aug 14 '17 21:08 DeviaVir