Browse Source

Just dump the args, that should be sufficient

master
Dashie der otter 3 years ago
parent
commit
c972ac89c4
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      crons.py

+ 2
- 2
crons.py View File

@@ -135,8 +135,8 @@ def c_cron_cache(config, db):
u.retrieve(i.remote_uri, os.path.join(dir_dest, temp_name))
except IOError as e:
logger.error("Error downloading file %s" % i.remote_uri)
logger.error(e.args[1:3])
i.cache_error = "HTTP Error: {0}/{1}".format(e.args[2], e.args[1])
logger.error(e.args)
i.cache_error = "HTTP Error: {0}".format(e.args)
continue # jump to next one

_str = "{0} {1} {2}".format(i.part.name,