mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 05:31:15 -07:00
Add more logging
This commit is contained in:
parent
773ee8664c
commit
2efd81dc6a
2 changed files with 4 additions and 0 deletions
|
@ -64,12 +64,14 @@ def set_startup():
|
|||
logger.error("Failed to create MacOS system startup plist file: %s", e)
|
||||
return False
|
||||
|
||||
logger.info("Added Tautulli to MacOS system startup.")
|
||||
return True
|
||||
|
||||
else:
|
||||
try:
|
||||
if os.path.isfile(plist_file_path):
|
||||
os.remove(plist_file_path)
|
||||
logger.info("Removed Tautulli from MacOS system startup.")
|
||||
return True
|
||||
except OSError as e:
|
||||
logger.error("Failed to delete MacOS system startup plist file: %s", e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue