chore: improve logging
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user