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

Blocks: Crash while getting delegate data #807

Closed
lsilvs opened this issue Sep 3, 2018 · 0 comments
Closed

Blocks: Crash while getting delegate data #807

lsilvs opened this issue Sep 3, 2018 · 0 comments

Comments

@lsilvs
Copy link
Contributor

lsilvs commented Sep 3, 2018

The following error occurs when delegate data are not available by HTTP.

Exception has occurred: TypeError
TypeError: Cannot read property 'statusCode' of undefined
    at Request.request.get [as _callback] (/lib/api/blocks.js:114:18)
    at self.callback (/node_modules/request/request.js:185:22)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    at Request.onRequestError (/node_modules/request/request.js:877:8)
    at emitOne (events.js:116:13)
    at ClientRequest.emit (events.js:211:7)
    at Socket.socketErrorListener (_http_client.js:387:9)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
@lsilvs lsilvs self-assigned this Sep 3, 2018
@lsilvs lsilvs added this to Open Issues in Version 2.1.5 via automation Sep 3, 2018
@lsilvs lsilvs added this to New Issues in Sprint Board 27-08-18 via automation Sep 3, 2018
@lsilvs lsilvs added this to the Version 2.1.5 milestone Sep 3, 2018
@MichalTuleja MichalTuleja removed this from New Issues in Sprint Board 27-08-18 Sep 6, 2018
@MichalTuleja MichalTuleja added this to New Issues in Sprint Board 03-09-18 via automation Sep 6, 2018
@MichalTuleja MichalTuleja moved this from New Issues to To Do in Sprint Board 03-09-18 Sep 6, 2018
@MichalTuleja MichalTuleja changed the title TypeError: Cannot read property 'statusCode' of undefined Blocks: Crash while getting delegate data Sep 7, 2018
@MichalTuleja MichalTuleja removed the api label Sep 7, 2018
MichalTuleja added a commit that referenced this issue Sep 7, 2018
…defined

Avoid crash when response not present - Closes #807
Version 2.1.5 automation moved this from Open Issues to Closed Issues Sep 7, 2018
Sprint Board 03-09-18 automation moved this from To Do to Closed Issues Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Sprint Board 03-09-18
  
Closed Issues
Version 2.1.5
  
Closed Issues
Development

No branches or pull requests

2 participants