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 split the errors, with client errors now responsible for 4xx codes and server errors for 5xx codes.
The Diplomat::Query#create method only expects/handles client errors. As such, (some) errors that were previously caught and reported as Diplomat::QueryAlreadyExists, now raise Faraday::ServerError.
The text was updated successfully, but these errors were encountered:
Faraday 1 made changes to the
Faraday::ClientError
, introducingFaraday::ServerError
(https://github.com/lostisland/faraday/blob/main/UPGRADING.md#errors)This split the errors, with client errors now responsible for 4xx codes and server errors for 5xx codes.
The
Diplomat::Query#create
method only expects/handles client errors. As such, (some) errors that were previously caught and reported asDiplomat::QueryAlreadyExists
, now raiseFaraday::ServerError
.The text was updated successfully, but these errors were encountered: