改名
This commit is contained in:
+11
-11
@@ -107,7 +107,7 @@ class Application extends BaseApplication
|
|||||||
*/
|
*/
|
||||||
public function start(Input $argv): void
|
public function start(Input $argv): void
|
||||||
{
|
{
|
||||||
try {
|
// try {
|
||||||
fire(Event::SERVER_BEFORE_START);
|
fire(Event::SERVER_BEFORE_START);
|
||||||
if (env('debug') == 'false') {
|
if (env('debug') == 'false') {
|
||||||
$annotation = Snowflake::app()->getAttributes();
|
$annotation = Snowflake::app()->getAttributes();
|
||||||
@@ -117,16 +117,16 @@ class Application extends BaseApplication
|
|||||||
$manager->setParameters($argv);
|
$manager->setParameters($argv);
|
||||||
$class = $manager->search();
|
$class = $manager->search();
|
||||||
response()->send($manager->execCommand($class));
|
response()->send($manager->execCommand($class));
|
||||||
} catch (\Throwable $exception) {
|
// } catch (\Throwable $exception) {
|
||||||
var_dump($exception);
|
// var_dump($exception);
|
||||||
// response()->send(implode("\n", [
|
//// response()->send(implode("\n", [
|
||||||
// 'Msg: ' . $exception->getMessage(),
|
//// 'Msg: ' . $exception->getMessage(),
|
||||||
// 'Line: ' . $exception->getLine(),
|
//// 'Line: ' . $exception->getLine(),
|
||||||
// 'File: ' . $exception->getFile()
|
//// 'File: ' . $exception->getFile()
|
||||||
// ]));
|
//// ]));
|
||||||
} finally {
|
// } finally {
|
||||||
Timer::clearAll();
|
// Timer::clearAll();
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user