* added url to jira exception
This commit is contained in:
@@ -93,7 +93,10 @@ class JiraCollectorService
|
||||
->send();
|
||||
|
||||
if (!$response->isSuccess()) {
|
||||
throw new \UnexpectedValueException("Bad JIRA result", $response->getStatusCode());
|
||||
throw new \UnexpectedValueException(sprintf(
|
||||
"Bad JIRA result for URL:\n%s",
|
||||
$kanbanBoardUri
|
||||
), $response->getStatusCode());
|
||||
}
|
||||
|
||||
$parsedJsonData = Decoder::decode($response->getBody(), Json::TYPE_ARRAY);
|
||||
|
||||
Reference in New Issue
Block a user