mirror of
https://github.com/silverstripe/silverstripe-textextraction
synced 2024-10-22 09:06:00 +00:00
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:
parent
6bf932e5f0
commit
5e5a1f05da
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user