Page MenuHomePhabricator

Data load errors cause graphoid restarts
Closed, ResolvedPublic

Description

Errors such as this cause graphoid service to restart. It should be handled gracefully.

TypeError: Cannot read property 'pages' of undefined
    at                                                              vega/vega.js:114:19
    at Array.reduce (native)
    at                                                              vega/vega.js:113:30
    at Object.vg.data.read.formats.json (                           vega/vega.js:3113:39)
    at Object.read (                                                vega/vega.js:3105:25)
    at                                                              vega/vega.js:7330:38
    at Request._callback (                                          vega/vega.js:3085:9)

    at Request.self.callback (                                      vega/node_modules/request/request.js:344:22)
    at Request.EventEmitter.emit (events.js:98:17)
    at Request.<anonymous> (                                        vega/node_modules/request/request.js:1239:14)
    at Request.EventEmitter.emit (events.js:117:20)
    at IncomingMessage.<anonymous> (                                vega/node_modules/request/request.js:1187:12)
    at IncomingMessage.EventEmitter.emit (events.js:117:20)
    at _stream_readable.js:920:16
    at process._tickCallback (node.js:415:13)

Event Timeline

Yurik created this task.May 16 2015, 10:28 AM
Yurik raised the priority of this task from to High.
Yurik updated the task description. (Show Details)
Yurik added a project: Graphoid.
Yurik added subscribers: Yurik, TheDJ.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 16 2015, 10:28 AM
Yurik closed this task as Resolved.May 18 2015, 11:14 AM
Yurik claimed this task.

deployed into prod