mirror of
https://git.ugnet.gay/CrossTalk/azul.git
synced 2026-11-25 08:30:04 +00:00
bug fixes and improvements
- aliases are now handled properly in ABCH - removed final escargot leftovers (dev webconsole) - OSCAR etc. logging was not at log level debug - removed leftover debug code
This commit is contained in:
1 parent
4bf878556b
commit
6451bb9426
46 files changed
+307
-541
No files matched your search
@@ -70,7 +70,7 @@ class ListenerOSCAR(asyncio.Protocol):
|
||||
|
||||
if self.buffer[0] != 0x2A:
|
||||
# without the marker there's no telling where the next frame starts, so the stream can't be recovered
|
||||
self.logger.info('Recieved data without a FLAP start marker, closing connection')
|
||||
self.logger.debug('Recieved data without a FLAP start marker, closing connection')
|
||||
self.buffer = b''
|
||||
self.controller.close()
|
||||
break
|
||||
@@ -103,7 +103,7 @@ class ListenerOSCAR(asyncio.Protocol):
|
||||
# DATA (always contains a SNAC)
|
||||
case 0x02:
|
||||
if len(data) < 10:
|
||||
self.logger.info('Recieved a DATA frame too short to hold a SNAC:', data.hex())
|
||||
self.logger.debug('Recieved a DATA frame too short to hold a SNAC:', data.hex())
|
||||
return
|
||||
|
||||
msg = SNACMessage()
|
||||
@@ -123,7 +123,7 @@ class ListenerOSCAR(asyncio.Protocol):
|
||||
pass
|
||||
|
||||
case _:
|
||||
self.logger.info('Recieved unknown frame:', str(frame), 'with data:', data.hex())
|
||||
self.logger.debug('Recieved unknown frame:', str(frame), 'with data:', data.hex())
|
||||
|
||||
def _on_close(self) -> None:
|
||||
if self.transport is not None:
|
||||
|
||||
Reference in new issue
Block a user