Skip to content

Commit

Permalink
Report sub exception in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Quetzacoalt91 committed Jul 5, 2024
1 parent 878e795 commit 65d76be
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions classes/Exceptions/UpgradeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ class UpgradeException extends Exception
*/
public function getQuickInfos(): array
{
if ($this->getPrevious()) {
return array_merge(
[(string) $this->getPrevious()],
$this->quickInfos
);
}
return $this->quickInfos;
}

Expand Down

0 comments on commit 65d76be

Please sign in to comment.