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

Bittrex: TypeError: Cannot read property 'match' of undefined #390

Closed
webworker01 opened this issue Jul 17, 2017 · 2 comments
Closed

Bittrex: TypeError: Cannot read property 'match' of undefined #390

webworker01 opened this issue Jul 17, 2017 · 2 comments
Labels

Comments

@webworker01
Copy link

webworker01 commented Jul 17, 2017

Running MACD paper test on Bittrex

/zenbot/extensions/exchanges/bittrex/exchange.js:77
          if (data.message.match(recoverableErrors)) {
                          ^

TypeError: Cannot read property 'match' of undefined
    at /root/zenbot/extensions/exchanges/bittrex/exchange.js:77:27
    at Request._callback (/root/zenbot/node_modules/node.bittrex.api/node.bittrex.api.js:112:25)
    at self.callback (/root/zenbot/node_modules/request/request.js:188:22)
    at emitOne (events.js:115:13)
    at Request.emit (events.js:210:7)
    at Request.onRequestError (/root/zenbot/node_modules/request/request.js:884:8)
    at emitOne (events.js:115:13)
    at ClientRequest.emit (events.js:210:7)
    at TLSSocket.socketErrorListener (_http_client.js:399:9)
    at emitOne (events.js:115:13)
    at TLSSocket.emit (events.js:210:7)
    at emitErrorNT (internal/streams/destroy.js:62:8)
    at _combinedTickCallback (internal/process/next_tick.js:102:11)
    at process._tickCallback (internal/process/next_tick.js:161:9)
@DeviaVir DeviaVir added the bug label Jul 18, 2017
@arenstar
Copy link

+1 i have this issue also

@benpdavison
Copy link
Contributor

benpdavison commented Jul 27, 2017

Hello, written in some code to hotfix this, i.e. stop the match if message not present. see this PR: #412

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

No branches or pull requests

4 participants