This commit is contained in:
root
2025-11-13 19:52:28 +03:00
parent 8aeeb05b7d
commit 807dec3b6c
4646 changed files with 163445 additions and 626017 deletions

View File

@@ -34,7 +34,11 @@ abstract class AbstractCommand implements CommandInterface
}
catch (\Exception $e)
{
throw new CommandException($this, 'Command has unprocessed exception', previous: $e);
throw new CommandException(
$this,
sprintf('Command has unprocessed exception: "%s". Code: "%s"', $e->getMessage(), $e->getCode()),
previous: $e
);
}
$this->afterRun();