chore: improve logging

This commit is contained in:
2026-02-01 01:09:35 +00:00
parent b209a15dc3
commit ce2eb76646

View File

@@ -35,7 +35,7 @@ def open_obs():
shutil.rmtree(SENTINEL_FILE) shutil.rmtree(SENTINEL_FILE)
logger.info("Removed existing OBS .sentinel directory") logger.info("Removed existing OBS .sentinel directory")
except Exception as e: except Exception as e:
logger.error("Could not delete OBS .sentinel directory") logger.error(f"Could not delete OBS .sentinel directory: {e}")
# Using and not checking OBS since it needs to be non-blocking # Using and not checking OBS since it needs to be non-blocking
subprocess.Popen(["obs", "--minimize-to-tray"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) subprocess.Popen(["obs", "--minimize-to-tray"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)