diff --git a/Cargo.lock b/Cargo.lock index 69f6c472..a8543a42 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -468,9 +468,9 @@ dependencies = [ [[package]] name = "color-eyre" -version = "0.5.4" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22ba9b5e817f1bc1f2219b5a3474b69f838321b2a2ba8860d6a71c3bfe3d0fc1" +checksum = "beae3fcb8e4494aaf14ef64a78509215edd4ac824114a679e4c799cd7c07ad2a" dependencies = [ "backtrace", "color-spantrace", @@ -1319,9 +1319,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "lazycell" -version = "1.2.1" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b294d6fa9ee409a054354afc4352b0b9ef7ca222c69b8812cbea9e7d2bf3783f" +checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" @@ -2071,9 +2071,9 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.8.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91739a34c4355b5434ce54c9086c5895604a9c278586d1f1aa95e04f66b525a0" +checksum = "e8c4fec834fb6e6d2dd5eece3c7b432a52f0ba887cf40e595190c4107edc08bf" dependencies = [ "crossbeam-channel", "crossbeam-deque", @@ -3121,14 +3121,13 @@ dependencies = [ [[package]] name = "zcash_script" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c7abf4340c2c72e7379cca75e484d784ee7ae7259c12a88d05290e1a953f04d" +checksum = "95774f1be39da423c699a1fa54391ea971bbd168d8da2a79ad674ceb34b2512c" dependencies = [ "bindgen", "blake2b_simd", "cc", - "color-eyre", "libc", ] diff --git a/zebra-script/Cargo.toml b/zebra-script/Cargo.toml index c84bf97f..5cd19036 100644 --- a/zebra-script/Cargo.toml +++ b/zebra-script/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -zcash_script = "0.1.1" +zcash_script = "0.1.2" zebra-chain = { path = "../zebra-chain" } thiserror = "1.0.20" displaydoc = "0.1.7" diff --git a/zebrad/Cargo.toml b/zebrad/Cargo.toml index 68dede87..6e093b08 100644 --- a/zebrad/Cargo.toml +++ b/zebrad/Cargo.toml @@ -25,7 +25,7 @@ futures = "0.3" tokio = { version = "0.2.22", features = ["time", "rt-threaded", "stream", "macros", "tracing", "signal"] } tower = "0.3" -color-eyre = { version = "0.5.4", features = ["issue-url"] } +color-eyre = { version = "0.5.5", features = ["issue-url"] } thiserror = "1" tracing = "0.1" tracing-futures = "0.2" diff --git a/zebrad/src/application.rs b/zebrad/src/application.rs index e810d62b..df41a2b3 100644 --- a/zebrad/src/application.rs +++ b/zebrad/src/application.rs @@ -92,6 +92,12 @@ impl Application for ZebradApp { color_eyre::config::HookBuilder::default() .issue_url(concat!(env!("CARGO_PKG_REPOSITORY"), "/issues/new")) .add_issue_metadata("version", env!("CARGO_PKG_VERSION")) + .issue_filter(|kind| match kind { + color_eyre::ErrorKind::NonRecoverable(_) => true, + color_eyre::ErrorKind::Recoverable(error) => { + !error.is::() + } + }) .install() .unwrap();