<pman>Intégration de la branche dev74

This commit is contained in:
Jephté Clain 2025-06-26 13:43:47 +04:00
commit 2d09a584ca

View File

@ -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;
}