Skip to content

Commit 4b36fe4

Browse files
authoredJan 12, 2019
Update Viewer.html
1 parent 2ee473f commit 4b36fe4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/routes/repl/_components/Viewer.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -263,10 +263,10 @@
263263
// TODO show in UI
264264
hasComponent = false;
265265

266-
const loc = getLocationFromStack(e.stack, dom.map);
266+
const loc = getLocationFromStack(error.stack, dom.map);
267267
if (loc) {
268-
e.filename = loc.source;
269-
e.loc = { line: loc.line, column: loc.column };
268+
error.filename = loc.source;
269+
error.loc = { line: loc.line, column: loc.column };
270270
}
271271

272272
this.set({ error });

0 commit comments

Comments
 (0)