diff options
author | Valentin Bartenev <vbart@nginx.com> | 2019-11-14 17:48:48 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2019-11-14 17:48:48 +0300 |
commit | e9429324c218942ba05fa586cd139c81a94e2b66 (patch) | |
tree | 8976985893d638564b2797b0065d52de35e46530 /auto/events | |
parent | e189d0a96c4020adca73f8fcff04255b6c9a1c5a (diff) | |
download | unit-e9429324c218942ba05fa586cd139c81a94e2b66.tar.gz unit-e9429324c218942ba05fa586cd139c81a94e2b66.tar.bz2 |
Python: improved error handling if response object isn't iterable.
According to the documentation, PyObject_GetIter():
| Raises TypeError and returns NULL if the object cannot be iterated.
Previously, this exception wasn't printed or cleared and remained unhandled.
Diffstat (limited to 'auto/events')
0 files changed, 0 insertions, 0 deletions