diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/plugins/url.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/data/rbot/plugins/url.rb b/data/rbot/plugins/url.rb index 7190ec5d..a52a9d41 100644 --- a/data/rbot/plugins/url.rb +++ b/data/rbot/plugins/url.rb @@ -118,6 +118,7 @@ class UrlPlugin < Plugin if @bot.config['url.display_link_info'] debug "Getting title for #{urlstr}..." + begin title = get_title_for_url urlstr if title m.reply title @@ -125,6 +126,9 @@ class UrlPlugin < Plugin else debug "Title not found!" end + rescue => e + debug "Failed: #{e}" + end end # check to see if this url is already listed |