kriskowal/q — pull request #91 by ef4 (2012-07-25 02:10:18+00:00)
Title: Fix bug introduced by #90

Sorry, my patch for #90 introduced a problem. `error.stack` gets rendered and cached the first time someone accesses it, so if we access it before invoking `getStackFrames`, the custom `prepareStackTrace` never gets called.

This patch makes it so we only ever access `stack` via `getStackFrames`.