amielle commited on
Commit
8b21b95
1 Parent(s): 9792db5

chore: Update error printing

Browse files
util/__pycache__/summarizer.cpython-39.pyc CHANGED
Binary files a/util/__pycache__/summarizer.cpython-39.pyc and b/util/__pycache__/summarizer.cpython-39.pyc differ
 
util/textproc.py CHANGED
@@ -42,8 +42,8 @@ def retrieve_parsed_doc(patent_information, summaries_generated):
42
  claim_list = None
43
 
44
  return [abstract, background, claim_list]
45
- except:
46
- print("here")
47
  return None
48
 
49
 
 
42
  claim_list = None
43
 
44
  return [abstract, background, claim_list]
45
+ except Exception as e:
46
+ print(f'[ERROR] {e}')
47
  return None
48
 
49