simplyprint: silence stream errors
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
6e253b0d42
commit
39f26dc31a
|
@ -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__
|
||||
|
|
Loading…
Reference in New Issue