mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-06-26 09:32:40 +00:00
FIX: handle unexpected errors when browsing web (#1314)
This commit is contained in:
parent
e9fed4f5fa
commit
c6a307b473
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user