From c268f502b28b0e3574b3ef0bb960a750a83d97cf Mon Sep 17 00:00:00 2001 From: fomichev Date: Fri, 28 Feb 2025 14:33:04 +0300 Subject: [PATCH] =?utf8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5?= =?utf8?q?=D0=BD=D0=B8=D0=B5=20caption=20=D1=81=D0=BE=D0=BE=D0=B1=D1=89?= =?utf8?q?=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=B2=20=D1=82=D0=B5=D0=BB=D0=B5?= =?utf8?q?=D0=B3=D1=80=D0=B0=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/log/TelegramTarget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/log/TelegramTarget.php b/erp24/log/TelegramTarget.php index d9cf99da..8d14695b 100644 --- a/erp24/log/TelegramTarget.php +++ b/erp24/log/TelegramTarget.php @@ -125,7 +125,7 @@ class TelegramTarget extends \yii\log\Target $text = [ $level, " ", - "```" . mb_substr($message->getText(), 0, 3300) . "```", + "```" . mb_substr( "\n" . $message->getText(), 0, 3300) . "```", " ", "```" . $message->getStackTrace() . "```", "🙂 " . $message->getUserIp(), -- 2.39.5