mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-24 06:55:21 -07:00
remove additional try to expose error
This commit is contained in:
parent
f3459fb252
commit
189b1a487e
1 changed files with 5 additions and 5 deletions
|
@ -309,11 +309,11 @@ def main(args):
|
||||||
status_code=0,
|
status_code=0,
|
||||||
)
|
)
|
||||||
|
|
||||||
try:
|
#try:
|
||||||
input_directory, input_name, input_category, input_hash, input_id = core.parse_args(client_agent, args)
|
input_directory, input_name, input_category, input_hash, input_id = core.parse_args(client_agent, args)
|
||||||
except Exception:
|
#except Exception:
|
||||||
logger.error('There was a problem loading variables')
|
#logger.error('There was a problem loading variables')
|
||||||
return -1
|
#return -1
|
||||||
|
|
||||||
if input_directory and input_name and input_hash and input_id:
|
if input_directory and input_name and input_hash and input_id:
|
||||||
result = process_torrent(input_directory, input_name, input_category, input_hash, input_id, client_agent)
|
result = process_torrent(input_directory, input_name, input_category, input_hash, input_id, client_agent)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue