You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an asynchronous operation that is a part of another asynchronous operation fails, it would be very helpful to get a full stacktrace from the topmost async to the bottommost Future that reported the failure. Currently, only the bottommost failure is reported. This + lack of ability to debug + lack of try/catch makes async/await code very hard to debug.
Example:
defdoSomethingAsync:Future[Int] = {
async {
// ... thrownewIOException("Something went wrong...") // this line is reported properly
}
}
defcaller:Future[Int] = {
async {
await(doSomethingAsync) // << I'd like this line to be reported in the stacktrace as well
}
}
The text was updated successfully, but these errors were encountered:
When an asynchronous operation that is a part of another asynchronous operation fails, it would be very helpful to get a full stacktrace from the topmost async to the bottommost Future that reported the failure. Currently, only the bottommost failure is reported. This + lack of ability to debug + lack of try/catch makes async/await code very hard to debug.
Example:
The text was updated successfully, but these errors were encountered: