Skip to content

Commit

Permalink
fix(WorkerError): handle undefined error stacks (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfederm authored and michael-ciniawsky committed Feb 26, 2018
1 parent 9345756 commit 6fb5daf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WorkerError.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const stack = (err, worker, workerId) => {
const originError = err.stack
const originError = (err.stack || '')
.split('\n')
.filter(line => line.trim().startsWith('at'));

Expand Down

0 comments on commit 6fb5daf

Please sign in to comment.