thejagstudio commited on
Commit
c4fde0a
·
verified ·
1 Parent(s): d5b654a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -79,8 +79,8 @@ try:
79
  db = Chroma(
80
  persist_directory=CHROMA_PATH, embedding_function=custom_embeddings
81
  )
82
- except:
83
- pass
84
 
85
 
86
  def embeddingGen(query):
 
79
  db = Chroma(
80
  persist_directory=CHROMA_PATH, embedding_function=custom_embeddings
81
  )
82
+ except Exception as e:
83
+ print("Error in database :",str(e))
84
 
85
 
86
  def embeddingGen(query):