Lower error to warning

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
pull/42768/head
Git'Fellow 5 months ago committed by GitHub
parent eaa6d96cf7
commit d01f9e5fd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -115,7 +115,7 @@ class Manager implements IManager {
$endTime = microtime(true);
$duration = $endTime - $startTime;
if ($duration > 1) {
\OC::$server->get(LoggerInterface::class)->error(
\OC::$server->get(LoggerInterface::class)->warning(
'Dashboard widget {widget} took {duration} seconds to load.',
[
'widget' => $widget->getId(),

Loading…
Cancel
Save