Sandiago21 commited on
Commit
90845f0
·
verified ·
1 Parent(s): 3e4645f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -896,7 +896,8 @@ def tool_executor(state: AgentState):
896
  if query_webpage_information_similarity_score > best_query_webpage_information_similarity_score:
897
  best_query_webpage_information_similarity_score = query_webpage_information_similarity_score
898
  best_webpage_information = webpage_result
899
- except:
 
900
  pass
901
  else:
902
  result = "Unknown tool"
 
896
  if query_webpage_information_similarity_score > best_query_webpage_information_similarity_score:
897
  best_query_webpage_information_similarity_score = query_webpage_information_similarity_score
898
  best_webpage_information = webpage_result
899
+ except Exception as e:
900
+ webpage_information_complete = str(e)
901
  pass
902
  else:
903
  result = "Unknown tool"