Skip to content

Commit

Permalink
Add previous exception to new one
Browse files Browse the repository at this point in the history
Co-Authored-By: Andreas Frömer <[email protected]>
  • Loading branch information
d-feller and icanhazstring committed Mar 2, 2020
1 parent faa4c6a commit 9b3c874
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/UseCase/FetchIssueUseCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ public function execute(string $issueName, array $issueNameFilter = []): ?Issue
if ($e->getCode() === 404) {
throw new JiraTicketNotFoundException(
'Jira ticket does not exist or was deleted',
$e->getCode()
$e->getCode(),
$e
);
}
$this->logger->critical(
Expand Down

0 comments on commit 9b3c874

Please sign in to comment.