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