AriaMinaei / pretty-error

See node.js errors with less clutter
MIT License
1.52k stars 49 forks source link

Render: from should not be larger than to #40

Closed cggaurav closed 7 years ago

cggaurav commented 7 years ago
/home/travis/build/project-x/auth/node_modules/pretty-error/lib/ParsedError.js:23
      this._stack = this.error.stack;
                              ^
Error: `from` shouldn't be larger than `to`

This happened when I ran render(error) for an error that mongodb throws using their native driver while creating indexes. I could not figure out exactly what the error was but render was the culprit.

catamphetamine commented 7 years ago

I'm having this too, on Travis, but not on Mac.

cggaurav commented 7 years ago

Yeah, I had the same on Travis.

AriaMinaei commented 7 years ago

Thanks guys, fix is coming :)

AriaMinaei commented 7 years ago

Fixed in the new version