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
This can be a foot gun as the token can be accidentally leaked by e.g. logging the error puts err.inspect.
Maybe we could auto redact auth header or even avoid storing whole response in the error instance and keep only e.g. body/status (but I guess this would be a breaking change)?
The text was updated successfully, but these errors were encountered:
SlackError contains
env.response
, including request headers andSLACK_API_TOKEN
slack-ruby-client/lib/slack/web/faraday/response/raise_error.rb
Line 19 in f2423d4
This can be a foot gun as the token can be accidentally leaked by e.g. logging the error
puts err.inspect
.Maybe we could auto redact auth header or even avoid storing whole response in the error instance and keep only e.g. body/status (but I guess this would be a breaking change)?
The text was updated successfully, but these errors were encountered: