diff --git a/lib/personas/tools/web_browser.rb b/lib/personas/tools/web_browser.rb index 3e917cb3..15d5ed1e 100644 --- a/lib/personas/tools/web_browser.rb +++ b/lib/personas/tools/web_browser.rb @@ -44,6 +44,9 @@ module DiscourseAi end end + { url: url, error: "Failed to retrieve the web page" } + rescue StandardError + # keeping information opaque for now just in case { url: url, error: "Failed to retrieve the web page" } end