rrg92 commited on
Commit
c2b21e8
·
verified ·
1 Parent(s): 827af88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -231,7 +231,7 @@ def ChatFunc(message, history, LangMode, ChooseLang):
231
  yield m("searching...")
232
  try:
233
  FoundScripts = search(Question, onConnectionError = OnConnError)
234
- except:
235
  print('Search Error:')
236
  print(e)
237
  yield m("Houve alguma falha ao fazer a pesquisa. Tente novamente. Se persistir, veja orientações na aba Help!")
 
231
  yield m("searching...")
232
  try:
233
  FoundScripts = search(Question, onConnectionError = OnConnError)
234
+ except Exception as e:
235
  print('Search Error:')
236
  print(e)
237
  yield m("Houve alguma falha ao fazer a pesquisa. Tente novamente. Se persistir, veja orientações na aba Help!")