We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90af0ed commit 47f4b53Copy full SHA for 47f4b53
src/common/index.ts
@@ -383,8 +383,8 @@ function addRoutes(samplesList: Controls[]): void {
383
document.body.classList.remove('sb-overlay');
384
select('#source-panel').classList.remove('hidden');
385
isExternalNavigation = defaultTree = false;
386
- }).catch((): void => {
387
- location.reload();
+ }).catch((e: any): void => {
+ errorHandler(e.message);
388
});
389
390
}
0 commit comments