Authored by htoooth

fix

@@ -7,7 +7,7 @@ function slowRouter(m) { @@ -7,7 +7,7 @@ function slowRouter(m) {
7 hostname: _.get(m, 'tags.hostname', ''), 7 hostname: _.get(m, 'tags.hostname', ''),
8 preqid: _.get(m, 'fields.preqid', '').replace(/"/g, ''), 8 preqid: _.get(m, 'fields.preqid', '').replace(/"/g, ''),
9 reqid: _.get(m, 'fields.reqID', '').replace(/"/g, ''), 9 reqid: _.get(m, 'fields.reqID', '').replace(/"/g, ''),
10 - uid: parseInt(_.get(m, 'fields.uid', '0').replace(/"/g, '')), 10 + uid: parseInt(_.get(m, 'fields.uid', '0').replace(/"/g, '') || '0'),
11 udid: _.get(m, 'fields.udid', '').replace(/"/g, ''), 11 udid: _.get(m, 'fields.udid', '').replace(/"/g, ''),
12 api: _.get(m, 'tags.api', ''), 12 api: _.get(m, 'tags.api', ''),
13 route: _.get(m, 'tags.route', ''), 13 route: _.get(m, 'tags.route', ''),
@@ -24,12 +24,12 @@ function errorRouter(m) { @@ -24,12 +24,12 @@ function errorRouter(m) {
24 hostname: _.get(m, 'tags.hostname', ''), 24 hostname: _.get(m, 'tags.hostname', ''),
25 preqid: _.get(m, 'fields.preqid', '').replace(/"/g, ''), 25 preqid: _.get(m, 'fields.preqid', '').replace(/"/g, ''),
26 reqid: _.get(m, 'fields.reqID', '').replace(/"/g, ''), 26 reqid: _.get(m, 'fields.reqID', '').replace(/"/g, ''),
27 - uid: parseInt(_.get(m, 'fields.uid', '0').replace(/"/g, '')), 27 + uid: parseInt(_.get(m, 'fields.uid', '0').replace(/"/g, '') || '0'),
28 udid: _.get(m, 'fields.udid', '').replace(/"/g, ''), 28 udid: _.get(m, 'fields.udid', '').replace(/"/g, ''),
29 route: _.get(m, 'tags.route', ''), 29 route: _.get(m, 'tags.route', ''),
30 code: _.get(m, 'tags.code', ''), 30 code: _.get(m, 'tags.code', ''),
31 - line: parseInt(_.get(m, 'fields.line', '0').replace(/"/g, '')),  
32 - column: parseInt(_.get(m, 'fields.column', '0').replace(/"/g, '')), 31 + line: parseInt(_.get(m, 'fields.line', '0').replace(/"/g, '') || '0'),
  32 + column: parseInt(_.get(m, 'fields.column', '0').replace(/"/g, '') || '0'),
33 script: _.get(m, 'fields.script', ''), 33 script: _.get(m, 'fields.script', ''),
34 message: _.get(m, 'fields.message', ''), 34 message: _.get(m, 'fields.message', ''),
35 stack: _.get(m, 'fields.stack', ''), 35 stack: _.get(m, 'fields.stack', ''),