Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit c6a307b

Browse files
authored
FIX: handle unexpected errors when browsing web (#1314)
1 parent e9fed4f commit c6a307b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/personas/tools/web_browser.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ def invoke
4444
end
4545
end
4646

47+
{ url: url, error: "Failed to retrieve the web page" }
48+
rescue StandardError
49+
# keeping information opaque for now just in case
4750
{ url: url, error: "Failed to retrieve the web page" }
4851
end
4952

0 commit comments

Comments
 (0)