distage-testkit does not show ZIO traces on recent JVMs
neko-kai opened this issue · comments
We use zio.Cause.squashTraceWith
to attach ZIO traces to exceptions in tests, this starts failing since at least JVM 16 because of forbidden illegal reflective access:
Need to find another way to propagate info, e.g. go back to printing entire Cause, or attach to getMessage
instead of Throwable#cause
Fixed since upgrade to ZIO 2