FIX Reduce log level to prevent it being caught in SilverStripe error handler

See https://github.com/silverstripe/silverstripe-framework/issues/8044 for context
This commit is contained in:
Robbie Averill 2018-07-03 16:40:40 +12:00
parent 6bf932e5f0
commit 5e5a1f05da

View File

@ -58,7 +58,7 @@ class TikaRestClient extends Client
} }
} catch (RequestException $ex) { } catch (RequestException $ex) {
$msg = sprintf("Tika unavailable - %s", $ex->getMessage()); $msg = sprintf("Tika unavailable - %s", $ex->getMessage());
Injector::inst()->get(LoggerInterface::class)->error($msg); Injector::inst()->get(LoggerInterface::class)->notice($msg);
return false; return false;
} }