From 16ffb1dbbf61315b4f9b59f70bd25cbf4240030d Mon Sep 17 00:00:00 2001 From: teor Date: Tue, 8 Dec 2020 07:47:01 +1000 Subject: [PATCH] Disable issue URLs on all timeouts (#1470) This change helps prevent spurious bug reports. --- zebrad/src/application.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zebrad/src/application.rs b/zebrad/src/application.rs index b2594d06..442beb91 100644 --- a/zebrad/src/application.rs +++ b/zebrad/src/application.rs @@ -162,6 +162,8 @@ impl Application for ZebradApp { color_eyre::ErrorKind::NonRecoverable(_) => true, color_eyre::ErrorKind::Recoverable(error) => { !error.is::() + && !error.is::() + && !error.to_string().contains("timed out") } }) .install()