Skip to content

Commit

Permalink
fix(core): do not trace in tracing layer, lol
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Pianka <[email protected]>
  • Loading branch information
seanpianka committed Apr 21, 2024
1 parent 18b404d commit f5cdba5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tracing-layer-core"
version = "0.2.0"
version = "0.2.1"
edition = "2018"
license = "Apache-2.0"
description = "Send filtered tracing events to a webhook endpoint"
Expand Down
2 changes: 1 addition & 1 deletion core/src/layer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ where
let result: Result<_, FilterError> = format();
if let Ok(formatted) = result {
if let Err(e) = self.sender.send(WorkerMessage::Data(Box::new(formatted))) {
tracing::error!(err = %e, "failed to send discord payload to given channel")
println!("failed to send discord payload to given channel, err = {}", e)
};
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/discord/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ reqwest = { version = "0.11", default-features = false }
tracing = { version = "0.1", features = ["log"] }
tracing-subscriber = "0.3"
tracing-bunyan-formatter = { default-features = false, version = "0.3" }
regex = "1"
regex = "1"
2 changes: 1 addition & 1 deletion layers/discord/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tracing-layer-discord"
version = "0.2.1"
version = "0.2.2"
edition = "2018"
license = "Apache-2.0"
description = "Send filtered tracing events to Discord"
Expand Down
2 changes: 1 addition & 1 deletion layers/slack/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tracing-layer-slack"
version = "0.7.1"
version = "0.7.2"
edition = "2018"
license = "Apache-2.0"
description = "Send filtered tracing events to Slack"
Expand Down

0 comments on commit f5cdba5

Please sign in to comment.