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

include backtraces in keymap and keyset Errors #90

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

kent-3
Copy link
Contributor

@kent-3 kent-3 commented Jul 24, 2023

I was getting these errors when running cargo +nightly test --features=backtraces, because the Err being returned did not include the backtraces.

error[E0063]: missing field `backtrace` in initializer of `secret_cosmwasm_std::StdError`
   --> /home/kent/.cargo/registry/src/index.crates.io-6f17d22bba15001f/secret-toolkit-storage-0.9.0/src/keymap.rs:458:24
    |
458 |             return Err(StdError::NotFound {
    |                        ^^^^^^^^^^^^^^^^^^ missing `backtrace`

Copy link
Member

@toml01 toml01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @kent-3 !

@toml01 toml01 merged commit 6880cc3 into scrtlabs:master Oct 18, 2023
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

Successfully merging this pull request may close these issues.

2 participants