Closed dmsysop closed 4 years ago
Did you get this resolved? I need a better way to handle it in a smoother fashion as well.
Quota exceeded is being returned from Google, you will need to request a higher quota from them.
Talking about the exception handling of it...
On May 27, 2020, at 3:49 AM, Joe Dawson notifications@github.com wrote:
Quota exceeded is being returned from Google, you will need to request a higher quota from them.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
You can handle it using a simple try catch.
While testing the package, my shipping quota reached the limit and I ended up receiving this exception in return.
However, when in production, the error returned is a 500 error.
Wouldn't it be possible to try to return this message as a warning on the screen to the user instead of a 500 error?
By the way, congratulations on the package! It is excellent!