mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-22 06:13:19 -07:00
parent
bfbe2e6777
commit
8b27748165
1 changed files with 2 additions and 2 deletions
|
@ -33,8 +33,8 @@ def reportNzb(failure_link, clientAgent):
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
r = requests.post(failure_link, headers=headers)
|
r = requests.post(failure_link, headers=headers)
|
||||||
except requests.ConnectionError:
|
except Exception as e:
|
||||||
logger.error("Unable to open URL %s" % failure_link)
|
logger.error("Unable to open URL %s due to %s" % (failure_link, e))
|
||||||
return
|
return
|
||||||
|
|
||||||
def sanitizeName(name):
|
def sanitizeName(name):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue