Kotlin / kotlinx.coroutines

Library support for Kotlin coroutines
Apache License 2.0
12.94k stars 1.84k forks source link

Suppressed exceptions are lost during stacktrace recovery #4214

Open dkhalanskyjb opened 1 month ago

dkhalanskyjb commented 1 month ago

See https://youtrack.jetbrains.com/issue/KT-66006

qwwdfsad commented 2 weeks ago

I'm not sure if it's a bug (instead of the documentation improvement) -- originally, I've explicitly omitted copying of suppressed exceptions (as they are preserved in the original exception, and the copy creates a lot of visual noise during the logging/printing/debugging).