Skip to content

Commit 5ce45b0

Browse files
Dmitriy DiachkovDmitriy Diachkov
authored andcommitted
Add logging for previous commit
1 parent d29585c commit 5ce45b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

atlassian/bamboo.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ def _get_generator(self, path, elements_key='results', element_key='result', dat
5151
size += 1
5252
yield r
5353
start_index += results['max-result']
54-
except TypeError as e:
54+
except TypeError:
55+
logging.error("Broken response: {}".format(response))
5556
yield response
5657

5758

0 commit comments

Comments
 (0)