-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added handling of exceptions when starting the HTTP server
Details: * Added handling of IOError raised by start_http_server() in the HTTP case (it was already handled in the HTTPS case). * For the HTTPS case, broadened the catching of IOError to now catch Exception, in order to make double sure that we catch everything, in order to investigate the issue with occasional ssl.SSLEOFError exceptions. * Simplified and corrected the error message used for re-raising an exception raised by start_http_server() in the HTTPS case. Signed-off-by: Andreas Maier <[email protected]>
- Loading branch information
1 parent
2d7e110
commit 2ee819f
Showing
2 changed files
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters