projects
/
tools
/
python-jenkinsapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1fc369
)
add logging url when non 200 OK response
author
Nikolay Miroshnichenko
<nikbox@ya.ru>
Fri, 25 Apr 2014 21:02:08 +0000
(
01:02
+0400)
committer
Nikolay Miroshnichenko
<nikbox@ya.ru>
Fri, 25 Apr 2014 21:02:08 +0000
(
01:02
+0400)
jenkinsapi/jenkinsbase.py
patch
|
blob
|
history
diff --git
a/jenkinsapi/jenkinsbase.py
b/jenkinsapi/jenkinsbase.py
index 82559247b9058e2f40cc127740aaec23747b24e8..6287dfb81e5eb3129132da42d91078be73e5a3d7 100644
(file)
--- a/
jenkinsapi/jenkinsbase.py
+++ b/
jenkinsapi/jenkinsbase.py
@@
-63,6
+63,7
@@
class JenkinsBase(object):
requester = self.get_jenkins_obj().requester
response = requester.get_url(url, params)
if response.status_code != 200:
+ logging.error('Failed request at %s with params: %s', url, params)
response.raise_for_status()
try:
return ast.literal_eval(response.text)