From 6f62589170781bad8b34d5177374863add0e106b Mon Sep 17 00:00:00 2001 From: filesite Date: Tue, 21 May 2024 17:07:01 +0800 Subject: [PATCH] add error log --- themes/tajian/controller/FrontapiController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/themes/tajian/controller/FrontapiController.php b/themes/tajian/controller/FrontapiController.php index 8cc8cfe..8069ed4 100644 --- a/themes/tajian/controller/FrontapiController.php +++ b/themes/tajian/controller/FrontapiController.php @@ -187,6 +187,7 @@ Class FrontApiController extends SiteController { $heroUnionConfig = FSC::$app['config']['heroUnion']; $addTaskRes = $this->addHeroUnionTask($shareUrl, $heroUnionConfig['supportedPlatforms'][$platformName]); if (empty($addTaskRes) || empty($addTaskRes['code'])) { + $this->logError("Add herounion task failed: " . json_encode($addTaskRes)); $done = false; } }