Skip to content

Commit

Permalink
dist v0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
steren committed Jul 28, 2016
1 parent 3cf2d85 commit 44f7811
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/maps/stackdriver-errors-concat.min.js.map

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion dist/stackdriver-errors-concat.js
Original file line number Diff line number Diff line change
Expand Up @@ -2568,7 +2568,9 @@ if (!Array.prototype.forEach) {
payload.message = err.toString();
for(var s = firstFrameIndex; s < stack.length; s++) {
payload.message += '\n';
payload.message += stack[s].source;
// reconstruct the stackframe to look like a JS stackframe.
// stack[s].source should not be used because not populated created from source map.
payload.message += [' at ', stack[s].getFunctionName(), ' (', stack[s].getFileName(), ':', stack[s].getLineNumber() ,':', stack[s].getColumnNumber() , ')'].join('');
}
that.sendErrorPayload(payload, callback);
});
Expand Down
Loading

0 comments on commit 44f7811

Please sign in to comment.