We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3e01c7 commit d1d695bCopy full SHA for d1d695b
packages/framework/src/Console/Commands/RebuildStaticSiteCommand.php
@@ -47,7 +47,7 @@ public function handle(): int
47
try {
48
$this->validate();
49
} catch (Exception $exception) {
50
- return $this->handleException($exception);
+ return $this->withException($exception);
51
}
52
53
(new RebuildService($this->path))->execute();
@@ -102,7 +102,7 @@ public function validate(): void
102
*
103
* @return int Error code
104
*/
105
- public function handleException(Exception $exception): int
+ public function withException(Exception $exception): int
106
{
107
$this->error('Something went wrong!');
108
$this->warn($exception->getMessage());
0 commit comments