We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1415d0b commit eb66ebaCopy full SHA for eb66eba
msal/oauth2cli/authcode.py
@@ -109,9 +109,7 @@ def get_auth_code(self):
109
# Derived from
110
# https://docs.python.org/2/library/basehttpserver.html#more-examples
111
self.handle_request()
112
- except ValueError:
113
- break
114
- except IOError: # Python 2 throws an IOError handle timeout closes server
+ except (IOError, ValueError):
115
break
116
finally:
117
self.server_close()
0 commit comments