From a6135e43dfa703d3ebc43f05c6257a9de6bffd3e Mon Sep 17 00:00:00 2001 From: HorstOeko Date: Thu, 14 Nov 2024 16:21:13 +0100 Subject: [PATCH] Fix Exception in OrderDocumentPdfMerger --- src/OrderDocumentPdfMerger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OrderDocumentPdfMerger.php b/src/OrderDocumentPdfMerger.php index 4dfd727..9882743 100644 --- a/src/OrderDocumentPdfMerger.php +++ b/src/OrderDocumentPdfMerger.php @@ -71,7 +71,7 @@ protected function getXmlContent(): string if ($this->xmlDataIsFile()) { $xmlContent = file_get_contents($this->xmlDataOrFilename); if ($xmlContent === false) { - throw new OrderFileNotReadableException('Could not read XML file'); + throw new OrderFileNotReadableException($this->xmlDataOrFilename); } } else { $xmlContent = $this->xmlDataOrFilename;