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, 19 Dec 2018 19:03:58 +0000 (14:03 -0500)
commitb4d6862e52fe70e22ca50e054dfead74cc4f3b1d
tree6f21334f63977fe8449417eac999626c5abadbf8
parent36d567dcceccd1a2f5ec5d0a395b234311d93ebe
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