Skip to content

Commit 471caa8

Browse files
author
Ives van Hoorne
committed
Fix error handling of sandboxes
1 parent 396262d commit 471caa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/sandbox/eval/transpiled-module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ export default class TranspiledModule {
532532
// This scenario only happens when we are in an inconsistent state, the quickest way to solve
533533
// this state is to just hard reload everything.
534534
manager.clearCache();
535-
document.location.reload();
535+
536536
throw new Error(`${this.module.path} hasn't been transpiled yet.`);
537537
}
538538

0 commit comments

Comments
 (0)