-
-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error details aren't passed through #482
Comments
Do you mean it doesn't include |
Actually, the response metadata is present 😅 I was expecting when printing e that I'd get all the details from the error (instead I was only getting the error message)
|
Closing since people can get the error details as expected I was just being silly 😅 |
We could change |
fixes: slack-ruby#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
yeah! raised a PR for it, let me know your thoughts |
I see we have cassettes here
slack-ruby-client/spec/fixtures/slack/web/views_open_error.yml
Line 79 in bf5bb4b
but the error we get, if something fails, is just
invalid_arguments
, is this on purpose?The text was updated successfully, but these errors were encountered: