Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TyrianZIOApp hides thrown exceptions #307

Open
zynque opened this issue Feb 28, 2025 · 0 comments
Open

TyrianZIOApp hides thrown exceptions #307

zynque opened this issue Feb 28, 2025 · 0 comments

Comments

@zynque
Copy link

zynque commented Feb 28, 2025

I have noticed that when using TyrianZIOApp and my update function throws an exception, the app freezes but no exception is visible in the console. TyrianIOApp, on the other hand, displays the exceptions just fine. Here are a couple of Github Gists that demonstrate.

ZIO: https://gist.github.com/zynque/4de5e5ccd8569b1d8d4306011a955efa

Cats IO: https://gist.github.com/zynque/9ba27c9dec5960b1c0ab5e0541c4ebec

Here are the library versions I'm currently using:

  ThisBuild / scalaVersion      := "3.6.2" 
  libraryDependencies ++= Seq(
    "io.indigoengine" %%% "tyrian-zio"       % "0.12.0",
    "io.indigoengine" %%% "tyrian-io"        % "0.12.0",
    "dev.zio"         %%% "zio-interop-cats" % "23.1.0.3"
  )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant