Skip to content

Commit

Permalink
fix parsing the stack
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieudutour committed Apr 11, 2019
1 parent cd78d7b commit d5e09b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/catch-all-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ export function onLogFinish(context) {
)
} else if (
String(castedValue.primitive) === 'Error' &&
castedValue.value.stack &&
options.sourcemaps
castedValue.value.stack
) {
castedValue.value = castedValue.value.mutableCopy()
castedValue.value.stack = prepareStackTrace(
castedValue.value.stack,
options
Expand Down

0 comments on commit d5e09b2

Please sign in to comment.