From 0eafed5fc6a23ae9b45fc5e3264f9b41b8ec6d84 Mon Sep 17 00:00:00 2001 From: Simon Gadient Date: Tue, 16 Feb 2021 12:25:42 +0100 Subject: [PATCH] BUGFIX: replace multi-line exception message --- Classes/Transform/FlowErrorTransform.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Transform/FlowErrorTransform.php b/Classes/Transform/FlowErrorTransform.php index b1eba10..8dc14a5 100644 --- a/Classes/Transform/FlowErrorTransform.php +++ b/Classes/Transform/FlowErrorTransform.php @@ -34,7 +34,7 @@ public function transformResult(ExecutionResult $result): ExecutionResult $message = $this->throwableStorage->logThrowable($previousError); if (! $this->includeExceptionMessageInOutput) { - $message = preg_replace('/.* - See also: (.+)\.txt$/', 'Internal error ($1)', $message); + $message = preg_replace('/.* - See also: (.+)\.txt$/s', 'Internal error ($1)', $message); } return new Error(