FIX: handle unexpected errors when browsing web (#1314)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user