Skip to content

Commit 23e1fbd

Browse files
committed
Update node.py
1 parent 2eec6e5 commit 23e1fbd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/olink/core/node.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,4 @@ def handle_message(self, data: str) -> None:
3939
msg = self.converter.from_string(data)
4040
self.protocol.handle_message(msg)
4141
except Exception as e:
42-
logging.error("handle_message error: %s", e)
43-
raise e
42+
self.emit_log(LogLevel.ERROR, f"handle_message error: {e}")

0 commit comments

Comments
 (0)