eee
This commit is contained in:
+1
-1
@@ -67,7 +67,7 @@ class GiiCommand extends Command
|
||||
$output->writeln(json_encode($array, JSON_UNESCAPED_UNICODE));
|
||||
return 0;
|
||||
} catch (\Throwable $throwable) {
|
||||
$output->writeln(throwable($throwable));
|
||||
$output->writeln(throwable($throwable));
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -64,7 +64,7 @@ namespace {$namespace};
|
||||
|
||||
$import = $this->getImports($path['path'] . '/' . $managerName . 'Controller.php', $class);
|
||||
} catch (\Throwable $Exception) {
|
||||
error($Exception);
|
||||
\Kiri::getLogger()->json_log($Exception);
|
||||
exit();
|
||||
}
|
||||
} else {
|
||||
|
||||
+1
-1
@@ -68,7 +68,7 @@ namespace ' . $namespace . ';
|
||||
$html .= $imports . PHP_EOL;
|
||||
}
|
||||
} catch (\Throwable $e) {
|
||||
error($e);
|
||||
\Kiri::getLogger()->json_log($e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user