Skip to content

Commit

Permalink
Merge pull request #31 from pogromistik/master
Browse files Browse the repository at this point in the history
fix exception
  • Loading branch information
SonicGD authored Jun 5, 2018
2 parents 783256f + 76ac788 commit b599000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/reports/ReportsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ public function getReportResponse($payload, $mode, $returnMoneyInMicros)
$this->badResponseExceptionAnswer($ex);
}
} else {
$this->badResponseExceptionAnswer($ex);
throw new DirectApiException($ex->getMessage(), $ex->getCode());
}
} else {
$this->badResponseExceptionAnswer($ex);
throw new DirectApiException($ex->getMessage(), $ex->getCode());
}
} catch (BadResponseException $ex) {
$this->badResponseExceptionAnswer($ex);
Expand Down

0 comments on commit b599000

Please sign in to comment.