don't webhook the errors

This commit is contained in:
Cadey Ratio 2020-08-13 08:30:32 -04:00
parent 91cd18e930
commit 4f3d1560e8
3 changed files with 2 additions and 6 deletions

2
Cargo.lock generated
View File

@ -1511,7 +1511,7 @@ checksum = "e987b6bf443f4b5b3b6f38704195592cca41c5bb7aedd3c3693c7081f8289860"
[[package]]
name = "tron"
version = "0.2.9"
version = "0.2.10"
dependencies = [
"anyhow",
"async-trait",

View File

@ -1,6 +1,6 @@
[package]
name = "tron"
version = "0.2.9"
version = "0.2.10"
authors = ["Christine Dodrill <me@christine.website>"]
edition = "2018"
repository = "https://tulpa.dev/cadey/tron"

View File

@ -257,10 +257,6 @@ async fn main() -> Result<()> {
.await
{
log::error!("firehose error: {:#?}", why);
discord_webhook::execute(
cfg.discord_webhook_url.clone(),
Body::new(format!("firehose error:\n```\n{:#?}\n```", why))
).await?;
std::thread::sleep(std::time::Duration::from_millis(tries * 1000));
if tries == 5 {