This commit is contained in:
2025-12-31 00:19:31 +08:00
parent 4af906048b
commit 19a1cb6169
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ namespace {$namespace};
$import = $this->getImports($path['path'] . '/' . $managerName . 'Controller.php', $class); $import = $this->getImports($path['path'] . '/' . $managerName . 'Controller.php', $class);
} catch (\Throwable $Exception) { } catch (\Throwable $Exception) {
error($Exception); \Kiri::getLogger()->json_log($Exception);
exit(); exit();
} }
} else { } else {
+1 -1
View File
@@ -68,7 +68,7 @@ namespace ' . $namespace . ';
$html .= $imports . PHP_EOL; $html .= $imports . PHP_EOL;
} }
} catch (\Throwable $e) { } catch (\Throwable $e) {
error($e); \Kiri::getLogger()->json_log($e);
} }
} }