don't webhook the errors
This commit is contained in:
parent
91cd18e930
commit
4f3d1560e8
|
@ -1511,7 +1511,7 @@ checksum = "e987b6bf443f4b5b3b6f38704195592cca41c5bb7aedd3c3693c7081f8289860"
|
|||
|
||||
[[package]]
|
||||
name = "tron"
|
||||
version = "0.2.9"
|
||||
version = "0.2.10"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-trait",
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue