diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 482f78b..a4fcd8c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,6 @@ jobs: # rebar3-version: ${{ env.rebar }} # - run: gleam test --target erlang # - run: gleam run --target erlang -- --outdated - windows: runs-on: windows-latest steps: diff --git a/src/go_over/util/util.gleam b/src/go_over/util/util.gleam index aab2706..822d78b 100644 --- a/src/go_over/util/util.gleam +++ b/src/go_over/util/util.gleam @@ -1,4 +1,5 @@ import delay +import gleam/io import gleam/list import go_over/util/print import shellout @@ -6,7 +7,8 @@ import shellout pub fn hard_fail(res: Result(a, b), msg: String) -> a { case res { Ok(val) -> val - _ -> { + err -> { + io.debug(err) print.warning("Error: " <> msg) shellout.exit(1) panic as "unreachable"