remove websocket.path log from exception logging
This commit is contained in:
@@ -257,7 +257,7 @@ class TranscriptionServer:
|
|||||||
websocket.close()
|
websocket.close()
|
||||||
break
|
break
|
||||||
except ConnectionClosed:
|
except ConnectionClosed:
|
||||||
logging.info(f"Connection closed by client with path: {websocket.path}")
|
logging.info("Connection closed by client.")
|
||||||
except json.JSONDecodeError:
|
except json.JSONDecodeError:
|
||||||
logging.error("Failed to decode JSON from client")
|
logging.error("Failed to decode JSON from client")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user