<p dir="auto">the fact that <code class="notranslate">Exceptions</code> occurring in <code class="notranslate">Tasks</code> are not propagated back to the main thread makes debugging difficult.</p>
<p dir="auto">at the REPL:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; throw(Exception)
ERROR: Exception   # printed in red

julia&gt; @async throw(Exception)
Task (failed) @0x00007f6654996680   # in black"><pre class="notranslate"><code class="notranslate">julia&gt; throw(Exception)
ERROR: Exception   # printed in red

julia&gt; @async throw(Exception)
Task (failed) @0x00007f6654996680   # in black
</code></pre></div>
<p dir="auto">on the unix command line:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ julia -e 'throw(Exception)'
ERROR: Exception
 in process_options at ./client.jl:295
 in _start at ./client.jl:413

$ echo $?
1

$ julia -e '@async throw(Exception)'

$ echo $?
0"><pre class="notranslate"><code class="notranslate">$ julia -e 'throw(Exception)'
ERROR: Exception
 in process_options at ./client.jl:295
 in _start at ./client.jl:413

$ echo $?
1

$ julia -e '@async throw(Exception)'

$ echo $?
0
</code></pre></div>
<p dir="auto">If an <a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/async/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/async">@async</a> block encounters an error it silently stops running. Any way to at least print out some errors?</p>