<p dir="auto">I think you should create <a href="https://help.github.com/en/github/building-a-strong-community/about-team-discussions">GitHub Discussion</a> so people can ask question and more</p>
<blockquote>
<p dir="auto">Discussion is currently in beta</p>
</blockquote>
<p dir="auto">Not sure if this is rooted in a V8 glitch, but it still causes Deno to terminate. Basically can't seem to 'catch' an exception when importing a module a second time. Exception flies right to the top and terminates Deno. Tried to make the smallest possible case reproducing the issue:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" % deno run --allow-read test.js
about to import...
caught
about to import again...
error: Uncaught uh oh"><pre class="notranslate"><code class="notranslate"> % deno run --allow-read test.js
about to import...
caught
about to import again...
error: Uncaught uh oh
</code></pre></div>
<p dir="auto">test.js:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="console.log('about to import...');
let a = await import('./test_module.js').catch(e =&gt; console.log(&quot;caught&quot;));
console.log('about to import again...');
await import('./test_module.js').catch(e =&gt; console.log(&quot;caught again&quot;));"><pre class="notranslate"><code class="notranslate">console.log('about to import...');
let a = await import('./test_module.js').catch(e =&gt; console.log("caught"));
console.log('about to import again...');
await import('./test_module.js').catch(e =&gt; console.log("caught again"));
</code></pre></div>
<p dir="auto">test_module.js:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="throw &quot;uh oh&quot;;"><pre class="notranslate"><code class="notranslate">throw "uh oh";
</code></pre></div>