变更
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ class GiiCommand extends Command
|
||||
}
|
||||
}
|
||||
} catch (\Throwable $throwable) {
|
||||
$output->writeln($throwable->getMessage());
|
||||
$output->writeln(throwable($throwable));
|
||||
} finally {
|
||||
return 1;
|
||||
}
|
||||
|
||||
+1
-1
@@ -63,7 +63,7 @@ namespace {$namespace};
|
||||
|
||||
$import = $this->getImports($path['path'] . '/' . $managerName . 'Controller.php', $class);
|
||||
} catch (\Throwable $Exception) {
|
||||
logger()->addError($Exception, 'throwable');
|
||||
error($Exception);
|
||||
exit();
|
||||
}
|
||||
} else {
|
||||
|
||||
+1
-1
@@ -66,7 +66,7 @@ namespace ' . $namespace . ';
|
||||
$html .= $imports . PHP_EOL;
|
||||
}
|
||||
} catch (\Throwable $e) {
|
||||
logger()->addError($e, 'throwable');
|
||||
error($e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user