Closed vbanos closed 2 years ago
Thanks for the suggestions. I was considering this a pretty thin client, so exceptions would just be raised up to the package user to be dealt with in their integration. Your thoughts on that approach?
Well, I guess this is a matter of taste. I understand your approach. I have the opposite approach in general, catch the exception at the earliest possible point.
Its quite possible to have HTTP exceptions. You need to catch them and log the relevant error. using
SearchApiClient._logger
.