Skip to content

Commit

Permalink
Fix Exception in OrderDocumentPdfMerger
Browse files Browse the repository at this point in the history
  • Loading branch information
HorstOeko committed Nov 14, 2024
1 parent 7d2dfcd commit a6135e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OrderDocumentPdfMerger.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a6135e4

Please sign in to comment.