Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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!")
|