Browse Source

add error log

master
filesite 6 months ago
parent
commit
6f62589170
  1. 1
      themes/tajian/controller/FrontapiController.php

1
themes/tajian/controller/FrontapiController.php

@ -187,6 +187,7 @@ Class FrontApiController extends SiteController {
$heroUnionConfig = FSC::$app['config']['heroUnion']; $heroUnionConfig = FSC::$app['config']['heroUnion'];
$addTaskRes = $this->addHeroUnionTask($shareUrl, $heroUnionConfig['supportedPlatforms'][$platformName]); $addTaskRes = $this->addHeroUnionTask($shareUrl, $heroUnionConfig['supportedPlatforms'][$platformName]);
if (empty($addTaskRes) || empty($addTaskRes['code'])) { if (empty($addTaskRes) || empty($addTaskRes['code'])) {
$this->logError("Add herounion task failed: " . json_encode($addTaskRes));
$done = false; $done = false;
} }
} }

Loading…
Cancel
Save