From 8c37c6ab75fc27d3bf69112dc1434381d3317a14 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Thu, 26 Jun 2025 13:43:33 +0400 Subject: [PATCH] bug --- nur_src/b/ui/AbstractMessenger.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nur_src/b/ui/AbstractMessenger.php b/nur_src/b/ui/AbstractMessenger.php index cbc493d..c92a8aa 100644 --- a/nur_src/b/ui/AbstractMessenger.php +++ b/nur_src/b/ui/AbstractMessenger.php @@ -503,9 +503,9 @@ abstract class AbstractMessenger extends Parametrable implements IMessenger { if ($tech !== null) { if ($tech instanceof UserException) { $msg = $tech->getTechMessage(); - } elseif (($tech instanceof Throwable || $tech instanceof ExceptionShadow) && !$printException) { + } elseif ($tech instanceof Throwable || $tech instanceof ExceptionShadow) { $techSummary = true; - $msg = UserException::get_summary($tech); + $msg = $printException? UserException::get_summary($tech): null; } else { $msg = $tech; }