Subject: | Authentication and timeout errors |
Date: | Thu, 11 Jul 2013 10:07:08 -0600 |
To: | bug-Business-Tax-Avalara [...] rt.cpan.org |
From: | Jason Terry <jterry [...] bluehost.com> |
When Business::Tax::Avalara gets any kind of error it simply logs it and
returns nothing.
This doesn't give the developer much control over trying to report or
handle specific error types.
In the case of a timeout it's not a huge deal since you have no data
anyway. However if you submit invalid credentials an actual "400 Bad
Request" which includes well formed JSON is logged, but not passed back.
It would be nice if well formed JSON errors like that were actually sent
back rather then simply logged and discarded.
Thanks
-Jason