remove additional try to expose error

This commit is contained in:
clinton-hall 2019-12-22 21:35:03 +13:00
commit 189b1a487e

View file

@ -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)