Skip to content

Commit

Permalink
Merge pull request #1318 from LibreSign/backport/1317/stable25
Browse files Browse the repository at this point in the history
[stable25] Log error backtrace
  • Loading branch information
vitormattos authored Dec 31, 2022
2 parents 6a264c6 + 250c4b2 commit 5ae86e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Controller/SignFileController.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ public function sign(string $password = null, int $fileId = null, string $fileUs
break;
default:
$this->logger->error($message);
$this->logger->error(json_encode($th->getTrace()));
$message = $this->l10n->t('Internal error. Contact admin.');
}
}
Expand Down

0 comments on commit 5ae86e7

Please sign in to comment.