Authored by htoooth

add useragent

... ... @@ -33,6 +33,7 @@ function errorRouter(m) {
script: _.get(m, 'fields.script', ''),
message: _.get(m, 'fields.message', ''),
stack: _.get(m, 'fields.stack', ''),
useragent: _.get(m, 'fields.useragent', ''),
create_time: _.get(m, 'time') ? _.get(m, 'time') / 1000000 : 0
};
}
... ...