LP#1772680: add some guards
authorGalen Charlton <gmc@equinoxinitiative.org>
Thu, 20 Sep 2018 20:52:27 +0000 (16:52 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 16 Nov 2018 19:01:13 +0000 (14:01 -0500)
commit01f73b5522d2e2b6f1abf068c91d4759b4e36c8c
treec567b9c045aaac570e646dae5b73a61049fbad43
parent6bc20dd7ac4ac4830d20f6d65aff32435b72dedc
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