LP#1772680: add some guards
authorGalen Charlton <gmc@equinoxinitiative.org>
Thu, 20 Sep 2018 20:52:27 +0000 (16:52 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 16 Sep 2019 19:20:03 +0000 (15:20 -0400)
commitfc71fb5f5cdc225a1a6b7c27bf2f089fdb095dc3
tree42060c68ae122a54b8aa2628f51cbb90c86c4893
parent37bbd6177ee17a96fd07d3eb6db5cf54fb688f9a
LP#1772680: add some guards

Avoid crashes if the RBDigital API is not available or incorrect
tokens are configured.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/EbookAPI.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/EbookAPI/RBDigital.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/RBDigitalSearch.pm