graphql-engine/v3/crates/hasura-authn-core
Samir Talwar 5a0102b407 Avoid .unwrap in favor of anyhow for better error messages in tests. (#430)
I am struggling to diagnose some errors and `.unwrap` is not helping, as
it doesn't properly capture stack traces or anything else that might be
useful.

`anyhow` was built for this. Let's use it.

I had to convert `SessionError` to a real `Error`, which I don't think
is a bad thing.

V3_GIT_ORIGIN_REV_ID: 3b8a70bb87e12e7b9e39515cd5f769fbd2cbfb39
2024-04-02 17:06:56 +00:00
..
src Avoid .unwrap in favor of anyhow for better error messages in tests. (#430) 2024-04-02 17:06:56 +00:00
Cargo.toml Avoid .unwrap in favor of anyhow for better error messages in tests. (#430) 2024-04-02 17:06:56 +00:00