You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Leading up to filing #18, I discovered that the keyword property does not support a *. However, instead of a rejection, syntax error, or even "bad request", the error shown when --debug was enabled was Twitter::Error::Unauthorized.
The plugin should include the best possible error message and as much information as possible. I believe the response codes from the twitter API have additional information that could be returned [1].
The gem we use this days, the https://github.com/sferik/twitter is already doing what you request. It creates the error string based on the twitter response code.
def on_headers_complete(_headers)
error = Twitter::Error::ERRORS[@parser.status_code]
fail error if error
end
Leading up to filing #18, I discovered that the
keyword
property does not support a*
. However, instead of a rejection, syntax error, or even "bad request", the error shown when --debug was enabled wasTwitter::Error::Unauthorized
.The plugin should include the best possible error message and as much information as possible. I believe the response codes from the twitter API have additional information that could be returned [1].
[1] https://dev.twitter.com/overview/api/response-codes
The text was updated successfully, but these errors were encountered: