diff options
| author | Brian Potchik <brian@vector35.com> | 2020-04-23 17:06:10 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2020-04-23 17:06:10 -0400 |
| commit | e965b392285f8c3045ef3a14988ef9d0da4b565f (patch) | |
| tree | cc48d25b3a8c3aef4b56dd3ed5223f20a4894c8c /python | |
| parent | 0ab11a785925ac6eeec510a41f779fe7879426f3 (diff) | |
Send URLError to the ErrorLog in the PythonDownloadProvider.
Diffstat (limited to 'python')
| -rw-r--r-- | python/downloadprovider.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/downloadprovider.py b/python/downloadprovider.py index 632a5f25..112c4783 100644 --- a/python/downloadprovider.py +++ b/python/downloadprovider.py @@ -214,6 +214,7 @@ if (sys.platform != "win32") and (sys.version_info >= (2, 7, 9)): except URLError as e: core.BNSetErrorForDownloadInstance(self.handle, e.__class__.__name__) + log.log_error(str(e)) return -1 except: core.BNSetErrorForDownloadInstance(self.handle, "Unknown Exception!") |
