slack-ruby / slack-ruby-client

A Ruby and command-line client for the Slack Web, Real Time Messaging and Event APIs.
MIT License
1.19k stars 214 forks source link

feat: Include details for web api errors #483

Open kevinrobayna opened 1 year ago

kevinrobayna commented 1 year ago

fixes: https://github.com/slack-ruby/slack-ruby-client/issues/482

Currently when we get the error message we get no details of what went wrong unless we get the response_metadata for the error which is not intuitive as most people when they get an error and print the exception they would expect to see as much details as possible.

Additionally updated ruby-version in the project to be the latest as most people would be using that one as their default, though not changing the one required by the gem