diff --git a/src/Vite.php b/src/Vite.php index db61b0d..2513be0 100644 --- a/src/Vite.php +++ b/src/Vite.php @@ -347,14 +347,14 @@ private function getManifest(): ?array throw new ManifestNotFoundException('Manifest file not found.'); } } catch (\Exception $e) { - if (class_exists('Logger')) { + if (class_exists('AcmsLogger')) { Logger::error('【Vite plugin】manifest.json を取得できませんでした。', Common::exceptionArray($e)); } return null; } $decodedManifest = json_decode($manifest, true); if (!is_array($decodedManifest)) { - if (class_exists('Logger')) { + if (class_exists('AcmsLogger')) { Logger::error('【Vite plugin】manifest.json のデコードに失敗しました。'); } return null;