Shopify / shopify-api-ruby

ShopifyAPI is a lightweight gem for accessing the Shopify admin REST and GraphQL web services.
MIT License
1.06k stars 473 forks source link

Fix FeatureDeprecatedError being raised without a message #1288

Closed brendo closed 8 months ago

brendo commented 8 months ago

Description

The FeatureDeprecatedError error is currently raised without a message. This makes it near impossible to know what the feature was that was deprecated and leads to a lot of diving through stacktraces to try and figure it out.

Screenshot 2024-03-12 at 8 41 04 am

This PR goes a little way to making this better by specifying the message when raising the error. This should give developers more clues and speed up investigation.

How has this been tested?

Updated existing unit test.

Checklist: