Skip to content

Commit

Permalink
fix: var name
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Jan 3, 2025
1 parent e3d8864 commit fed27a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/PdfParserService.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function toArray(): array {
try {
$output = $this->parsePdfOnlyWithPhp();
} catch (LibresignException $e) {
$this->logger->error('Impossible get metadata from this file: ' . $th->getMessage());
$this->logger->error('Impossible get metadata from this file: ' . $e->getMessage());
throw new LibresignException('Impossible get metadata from this file.');
} catch (\Throwable $th) {
if ($th->getMessage() === 'Secured pdf file are currently not supported.') {
Expand Down

0 comments on commit fed27a3

Please sign in to comment.