fix twitter:error:forbidden catch block
This commit is contained in:
@@ -31,7 +31,7 @@ module Sources::Strategies
|
||||
@tags = attrs[:entities][:hashtags].map do |text:, indices:|
|
||||
[text, "https://twitter.com/hashtag/#{text}"]
|
||||
end
|
||||
rescue Twitter::Error::Forbidden
|
||||
rescue ::Twitter::Error::Forbidden
|
||||
end
|
||||
|
||||
def image_urls
|
||||
|
||||
Reference in New Issue
Block a user