Error.captureStackTrace is only defined in chrome. What do you think of adding the capture-stack-trace ponyfill for browsers other than chrome. https://www.npmjs.com/package/capture-stack-trace