aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base
diff options
context:
space:
mode:
authorAlexander_Kabui2022-09-07 20:49:46 +0300
committerAlexander_Kabui2022-09-07 20:53:07 +0300
commit551fd9867b924b6cee5f9030a421bc22dd87c2cd (patch)
treeada4fc75b8adf53687ddcdf9f4204b37de7dc18a /wqflask/base
parentd6cd1e457e059eb7aa2b0a93b481e643fab2cfd6 (diff)
downloadgenenetwork2-551fd9867b924b6cee5f9030a421bc22dd87c2cd.tar.gz
catch general errors this will recreate the file
Diffstat (limited to 'wqflask/base')
-rw-r--r--wqflask/base/data_set.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py
index 211c6752..72906515 100644
--- a/wqflask/base/data_set.py
+++ b/wqflask/base/data_set.py
@@ -1321,5 +1321,6 @@ def fetch_cached_results(dataset_name: str, dataset_type: str, samplelist: List)
with open(file_path, "r") as file_handler:
return json.load(file_handler)
- except FileNotFoundError:
+
+ except Exception:
pass