Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

x is undefined - crash in numbro.js #472

Closed
fishfugu opened this issue Aug 14, 2017 · 2 comments
Closed

x is undefined - crash in numbro.js #472

fishfugu opened this issue Aug 14, 2017 · 2 comments

Comments

@fishfugu
Copy link

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
Copy link
Author

Actually - think this might be the same as #457

@DeviaVir
Copy link
Owner

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants