I'm not sure if firefox and IE will get stack traces without it


On Thu, Feb 13, 2014 at 2:03 PM, Tomasz Kołodziejski <
notifications@github.com> wrote:

> In index.js:
>
> > @@ -22,11 +23,18 @@ var processKey = function (key) {
> >  // extracted adapter functions)
> >
> >  function MapReduceError(name, msg, code) {
> > +  /* istanbul ignore else  */
> > +  if (Error.captureStackTrace) {
> > +    Error.captureStackTrace(this, MapReduceError);
> > +  } else {
> > +    /* istanbul ignore next */
> > +    Error.call(this);
>
> Yeah, that's right. But I'm asking more-or-less this:
> what's the difference in having this line and not having it?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/pouchdb/mapreduce/pull/49/files#r9721986>
> .
>



-- 
-Calvin W. Metcalf