add ha couter for 'Internal SW Exceptions'
This commit is contained in:
@@ -44,6 +44,7 @@ class AsyncStream(Message):
|
||||
self.close()
|
||||
return self
|
||||
except Exception:
|
||||
self.inc_counter('SW_Exception')
|
||||
logger.error(
|
||||
f"Exception for {self.addr}:\n"
|
||||
f"{traceback.format_exc()}")
|
||||
|
||||
Reference in New Issue
Block a user