Use longjohn to repair stacktraces on self-test

This commit is contained in:
Tom Coleman
2016-05-05 15:05:52 -07:00
parent 4056111acb
commit 88ed8e289a

View File

@@ -15,7 +15,7 @@ const _ = require('underscore');
// return anything past that function. We call this the "user portion"
// of the stack.
export function parse(err) {
var frames = err.stack.split('\n');
let frames = err.stack.split('\n');
frames.shift(); // at least the first line is the exception