mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Lower error to warning
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
This commit is contained in:
parent
21042c3e0f
commit
a60bf6a00d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue