Skip to content

Commit

Permalink
chore(deps): bump sentry from 0.16.0 to 0.19.1
Browse files Browse the repository at this point in the history
  • Loading branch information
yangby-cryptape committed Sep 8, 2020
1 parent de3173a commit e6b00c5
Show file tree
Hide file tree
Showing 8 changed files with 348 additions and 251 deletions.
579 changes: 341 additions & 238 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ckb-bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ckb-verification = { path = "../verification" }
base64 = "0.10.1"
tempfile = "3.0"
rayon = "1.0"
sentry = "0.16.0"
sentry = "0.19.1"

[features]
deadlock_detection = ["ckb-util/deadlock_detection"]
Expand Down
2 changes: 1 addition & 1 deletion ckb-bin/src/setup_guard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use ckb_metrics_service::{self, Guard as MetricsInitGuard};

pub struct SetupGuard {
_logger_guard: LoggerInitGuard,
_sentry_guard: Option<sentry::internals::ClientInitGuard>,
_sentry_guard: Option<sentry::ClientInitGuard>,
_metrics_guard: MetricsInitGuard,
}

Expand Down
2 changes: 1 addition & 1 deletion network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ p2p = { version="0.3.0", package="tentacle", features = ["molc"] }
faketime = "0.2.0"
lazy_static = "1.3.0"
bs58 = "0.3.0"
sentry = "0.16.0"
sentry = "0.19.1"
faster-hex = "0.4"
ckb-hash = {path = "../util/hash"}
secp256k1 = {version = "0.17", features = ["recovery"] }
Expand Down
2 changes: 1 addition & 1 deletion sync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ckb-channel = { path = "../util/channel" }
ckb-traits = { path = "../traits" }
failure = "0.1.5"
lru-cache = { git = "https://github.com/nervosnetwork/lru-cache", rev = "a35fdb8" }
sentry = "0.16.0"
sentry = "0.19.1"
futures = "0.3"
ckb-error = {path = "../error"}
ckb-tx-pool = { path = "../tx-pool" }
Expand Down
2 changes: 1 addition & 1 deletion util/app-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ path-clean = "0.1.0"
ckb-logger = { path = "../../util/logger" }
ckb-logger-config = { path = "../../util/logger-config" }
ckb-metrics-config = { path = "../../util/metrics-config" }
sentry = "0.16.0"
sentry = "0.19.1"
ckb-chain-spec = {path = "../../spec"}
ckb-jsonrpc-types = {path = "../jsonrpc-types"}
ckb-pow = { path = "../../pow" }
Expand Down
8 changes: 1 addition & 7 deletions util/app-config/src/sentry_config.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
use ckb_build_info::Version;
use sentry::{
configure_scope, init,
integrations::panic::register_panic_handler,
internals::{ClientInitGuard, Dsn},
protocol::Event,
ClientOptions, Level,
configure_scope, init, protocol::Event, types::Dsn, ClientInitGuard, ClientOptions, Level,
};
use serde::{Deserialize, Serialize};
use std::borrow::Cow;
Expand All @@ -31,8 +27,6 @@ impl SentryConfig {
scope.set_extra("org_contact", org_contact.clone().into());
}
});

register_panic_handler();
}

guard
Expand Down
2 changes: 1 addition & 1 deletion util/logger-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ once_cell = "1.3.1"
regex = "1.1.6"
chrono = "0.4"
backtrace = "0.3"
sentry = "0.16.0"
sentry = { version = "0.19.1", features = ["log"] }

0 comments on commit e6b00c5

Please sign in to comment.