From 39f26dc31aaae5773cba43e9033196b17c2fad7d Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Mon, 8 Aug 2022 17:02:20 -0400 Subject: [PATCH] simplyprint: silence stream errors Signed-off-by: Eric Callahan --- moonraker/components/simplyprint.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/moonraker/components/simplyprint.py b/moonraker/components/simplyprint.py index a674b54..fb8d939 100644 --- a/moonraker/components/simplyprint.py +++ b/moonraker/components/simplyprint.py @@ -1335,6 +1335,8 @@ class WebcamStream: except asyncio.CancelledError: raise except Exception as e: + if not self.server.is_debug_enabled(): + pass if type(last_err) != type(e) or last_err.args != e.args: last_err = e cname = self.__class__.__name__