eee
This commit is contained in:
+1
-1
@@ -67,7 +67,7 @@ class GiiCommand extends Command
|
|||||||
$output->writeln(json_encode($array, JSON_UNESCAPED_UNICODE));
|
$output->writeln(json_encode($array, JSON_UNESCAPED_UNICODE));
|
||||||
return 0;
|
return 0;
|
||||||
} catch (\Throwable $throwable) {
|
} catch (\Throwable $throwable) {
|
||||||
$output->writeln(throwable($throwable));
|
$output->writeln(throwable($throwable));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -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
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user