Commit c86e0641 authored by echel0n's avatar echel0n

Added extra debug logging to version updater.

parent 65c449e5
# Changelog
- * bbfb36d - 2018-12-17: Pre-Release v9.4.56.dev1
- * d1e0a2b - 2018-12-18: Added extra debug logging to version updater.
- * 65c449e - 2018-12-17: Pre-Release v9.4.56.dev1
- * cda49c8 - 2018-12-17: Added code back to carry over notifications when a page refresh occurs
- * 1d012df - 2018-12-17: Reverted usage of `next` to `continue` in mako views
- * 3865c15 - 2018-12-16: Release v9.4.55
......
......@@ -377,7 +377,7 @@ class UpdateManager(object):
def install_requirements(self):
for req_file in ['requirements.txt', sickrage.REQS_FILE]:
__, __, exit_status = self._pip_cmd(self._pip_path,
output, __, exit_status = self._pip_cmd(self._pip_path,
'install --no-cache-dir -r {}'.format(req_file))
if exit_status != 0:
......@@ -391,6 +391,8 @@ class UpdateManager(object):
'req_file': sickrage.REQS_FILE
}))
sickrage.app.log.debug("PIP CMD OUTPUT: {}".format(output.strip()))
return False
......@@ -447,6 +449,7 @@ class GitUpdateManager(UpdateManager):
output, __, exit_status = self._git_cmd(self._git_path, 'remote update')
if not exit_status == 0:
sickrage.app.log.warning("Unable to contact server, can't check for update")
sickrage.app.log.debug("GIT CMD OUTPUT: {}".format(output.strip()))
return
# get latest commit_hash from remote
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment