Skip to content

Commit

Permalink
better logging
Browse files Browse the repository at this point in the history
  • Loading branch information
builder555 committed Jan 26, 2024
1 parent 9a33fd5 commit dc6a4b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/pinecil_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ async def monitor(self, stop_event):
self.pinecil_finder.select_pinecil(0)
continue
if not self.pinecil.is_connected:
logging.info("waiting for pinecil...")
logging.info("Connecting to pinecil...")
try:
await self.pinecil.connect()
logging.info("Pinecil connected")
except DeviceNotFoundException as e:
logging.warning(e.message)
response = {"status": "ERROR", "message": e.message}
Expand Down

0 comments on commit dc6a4b4

Please sign in to comment.