This commit is contained in:
2023-04-18 23:47:31 +08:00
parent c3ce05ae06
commit e2a754b767
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ class GiiCommand extends Command
}
}
} catch (\Throwable $throwable) {
$output->writeln($throwable->getMessage());
$output->writeln(throwable($throwable));
} finally {
return 1;
}
+1 -1
View File
@@ -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
View File
@@ -66,7 +66,7 @@ namespace ' . $namespace . ';
$html .= $imports . PHP_EOL;
}
} catch (\Throwable $e) {
logger()->addError($e, 'throwable');
error($e);
}
}