Skip to content

Commit 43d5b48

Browse files
author
Ives van Hoorne
committed
Show parent in original Vue component
1 parent 24c2129 commit 43d5b48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sandbox/errors/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function buildDynamicError(ref: ErrorRecord) {
7979
return {
8080
type: 'action',
8181
action: 'show-error',
82-
path: module.path,
82+
path: module.parent ? module.parent.path : module.path,
8383
title: ref.error.name,
8484
message: ref.error.message,
8585
line: relevantFrame._originalLineNumber,

0 commit comments

Comments
 (0)