Skip to content

Commit 3ac9649

Browse files
committed
Merge branch 'hotfix/issue-51'
2 parents 073a5a0 + 6e187a3 commit 3ac9649

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/JiraClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ public function upload($context, $filePathArray)
337337
// don't check 301, 302 because setting CURLOPT_FOLLOWLOCATION
338338
if ($this->http_response != 200 && $this->http_response != 201) {
339339
$body = 'CURL HTTP Request Failed: Status Code : '
340-
.$this->http_response.', URL:'.$url
341-
."\nError Message : ".$response; // @TODO undefined variable $response
340+
.$this->http_response.', URL:'.$url;
341+
342342
$this->log->addError($body);
343343
}
344344
}

0 commit comments

Comments
 (0)