Skip to content

Commit

Permalink
Set Postage status code in runtime exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Jurian Sluiman committed Nov 7, 2014
1 parent d577a89 commit 8a4621d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SlmMail/Service/PostageService.php
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ private function parseResponse(HttpResponse $response)
throw new Exception\RuntimeException(sprintf(
'An error occurred on Postage, status code: %s%s', $result['response']['status'],
($errors) ? ' (' . $errors . ')' : ''
));
), (int) $result['response']['status']);
}
}

Expand Down

0 comments on commit 8a4621d

Please sign in to comment.