From a19cd427239abd7c79d3c9f7c19182ae0c59524b Mon Sep 17 00:00:00 2001 From: "J.G. Rubingh" Date: Fri, 27 Nov 2020 14:48:05 +0100 Subject: [PATCH] always return a log --- webservice/apps/synthea/lib/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webservice/apps/synthea/lib/utils.py b/webservice/apps/synthea/lib/utils.py index bb8a79a..46c726c 100644 --- a/webservice/apps/synthea/lib/utils.py +++ b/webservice/apps/synthea/lib/utils.py @@ -110,4 +110,4 @@ def run_synthea(state, population = 50, gender = None, age = None, module = None return (log,Path(f'{output_folder}/{zip_file}_{temp_id}.zip')) else: - raise Exception(log) \ No newline at end of file + return (log,None) \ No newline at end of file