Skip to content

TyrianZIOApp hides thrown exceptions #307

@zynque

Description

@zynque

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"
  )

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions