Skip to content

Commit

Permalink
Merge pull request #5 from spiral-packages/hotfix/cli-errors
Browse files Browse the repository at this point in the history
Ignore cli and console errors.
  • Loading branch information
butschster committed Mar 2, 2023
2 parents 531e415 + 1ef931a commit b9fa19b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PlainTextRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

final class PlainTextRenderer implements ExceptionRendererInterface
{
public const FORMATS = ['text/plain', 'text', 'plain', 'cli', 'console'];
public const FORMATS = ['text/plain', 'text', 'plain'];

public function __construct(
private readonly ?ThrowableRendererInterface $renderer = new YiiPlainTextRenderer()
Expand Down

0 comments on commit b9fa19b

Please sign in to comment.