# Can you find where this asynchronous program get stuck at?

**URL:** https://discourse.julialang.org/t/can-you-find-where-this-asynchronous-program-get-stuck-at/131907
**Category:** General Usage
**Tags:** question, async
**Created:** [August 28, 2025, 7:41am UTC](https://discourse.julialang.org/t/can-you-find-where-this-asynchronous-program-get-stuck-at/131907 "2025-08-28T07:41:40Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![sgaure](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sgaure/32/14779_2.png) [@sgaure](https://discourse.julialang.org/u/sgaure)
#### Post date: [August 28, 2025, 9:45am UTC](https://discourse.julialang.org/t/can-you-find-where-this-asynchronous-program-get-stuck-at/131907/3 "2025-08-28T09:45:13Z")

</div>

It’s quite annoying that you won’t see the error until the task is `wait`ed for, but there’s nowhere to throw the error.

There’s a similar problem with `Channel`s, which seems to be fixed in 1.12.

> [@Exception Control in Iteration over Channels, Latest Version](https://discourse.julialang.org/t/exception-control-in-iteration-over-channels-latest-version/131651):
>
> Dear all, I got intrigued when I realized that exceptions can be silenced when iterating over a channel. However, the source code on GitHub indicates that exceptions should actually be rethrown. Then I realized that the file Channels.jl on GitHub is actually different from its counterpart on my computer, though I should have the latest version of Julia. Now to details. Here is my example along with version details: \_ \_ \_ \_(\_)\_ | Documentation: https://docs.juliala…

---

_[View the full topic](https://discourse.julialang.org/t/can-you-find-where-this-asynchronous-program-get-stuck-at/131907)._
