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>
Wed, 16 Oct 2019 18:45:00 +0000 (14:45 -0400)
commit49fd36f09ced3816566d1387b265313e45103f51
treead0963065a688baf11d7a701028705afcd2de342
parentb09012ff5ecf3ddf7f111e1f87e47d6637fd10a2
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