Skip to content

Commit

Permalink
BUGFIX: replace multi-line exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
simstern committed Feb 16, 2021
1 parent 6bf5d8d commit 0eafed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Transform/FlowErrorTransform.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0eafed5

Please sign in to comment.