Closed vitkarpov closed 8 years ago
There's timings string in the data field of error. It'd be convenient to have time field also to get total time as number, to use within log.
Maybe getCommonErrorData should be kinda:
getCommonErrorData
Request.prototype.getCommonErrorData = function() { return { timers: this.getTimers(), timings: this.formatTimestamp(), url: this.getUrl(), requestId: this.options.requestId }; };
?
@narqo
+ asker@1.1.0 — since now on errors contain time property with the data of timers.
+ asker@1.1.0
time
Thanks 👍
There's timings string in the data field of error. It'd be convenient to have time field also to get total time as number, to use within log.
Maybe
getCommonErrorData
should be kinda:?