* added url to jira exception
This commit is contained in:
parent
176cbd86f0
commit
8c2b7fe548
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user