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(