Skip to content

Commit 70cfe7e

Browse files
committed
chore: log exception for observe thread
1 parent dd32261 commit 70cfe7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def start():
149149
self.tick()
150150
time.sleep(1)
151151
except Exception as e:
152-
logging.warn(f"observe thread exit by exception: {e}")
152+
logging.exception(f"observe thread exit by exception: {e}")
153153

154154
self.locking_compile_file = False
155155

0 commit comments

Comments
 (0)