mirror of
https://github.com/Karaka-Management/oms-OnlineResourceWatcher.git
synced 2026-02-05 02:58:40 +00:00
fix tests
This commit is contained in:
parent
e2318ed3a3
commit
13e3359bb6
|
|
@ -405,7 +405,7 @@ final class ApiController extends Controller
|
|||
true
|
||||
);
|
||||
} catch (\Throwable $t) {
|
||||
$this->app->logger?->error(
|
||||
$this->app->logger->error(
|
||||
\phpOMS\Log\FileLogger::MSG_FULL, [
|
||||
'message' => $t->getMessage(),
|
||||
'line' => __LINE__,
|
||||
|
|
@ -447,7 +447,7 @@ final class ApiController extends Controller
|
|||
|
||||
unset($toCheck[$index]);
|
||||
|
||||
$this->app->logger?->warning(
|
||||
$this->app->logger->warning(
|
||||
\phpOMS\Log\FileLogger::MSG_FULL, [
|
||||
'message' => 'Resource "' . $resource->id . ': ' . $resource->uri . '" took too long to download (' . ($time - $startTime) . ' s).',
|
||||
'line' => __LINE__,
|
||||
|
|
@ -553,7 +553,7 @@ final class ApiController extends Controller
|
|||
true
|
||||
);
|
||||
} catch (\Throwable $t) {
|
||||
$this->app->logger?->error(
|
||||
$this->app->logger->error(
|
||||
\phpOMS\Log\FileLogger::MSG_FULL, [
|
||||
'message' => $t->getMessage(),
|
||||
'line' => __LINE__,
|
||||
|
|
@ -703,7 +703,7 @@ final class ApiController extends Controller
|
|||
true
|
||||
);
|
||||
} catch (\Throwable $t) {
|
||||
$this->app->logger?->error(
|
||||
$this->app->logger->error(
|
||||
\phpOMS\Log\FileLogger::MSG_FULL, [
|
||||
'message' => $t->getMessage(),
|
||||
'line' => __LINE__,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user