From 1ef931ab92efe4ad44876b922010cca7104d743e Mon Sep 17 00:00:00 2001 From: butschster Date: Thu, 2 Mar 2023 16:26:38 +0400 Subject: [PATCH] Ignore cli and console errors. --- src/PlainTextRenderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PlainTextRenderer.php b/src/PlainTextRenderer.php index 9701e9b..03d3c7f 100644 --- a/src/PlainTextRenderer.php +++ b/src/PlainTextRenderer.php @@ -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()