Commit d4b9b823 authored by Philipp Hörist's avatar Philipp Hörist

HTTPUpload: Add missing argument

parent 9497dce2
...@@ -240,7 +240,7 @@ def _check_certificate(self, message): ...@@ -240,7 +240,7 @@ def _check_certificate(self, message):
if tls_errors: if tls_errors:
phrase = get_tls_error_phrase(tls_errors) phrase = get_tls_error_phrase(tls_errors)
self._log.warning('TLS verification failed: %s') self._log.warning('TLS verification failed: %s', phrase)
self._session.cancel_message(message, Soup.Status.CANCELLED) self._session.cancel_message(message, Soup.Status.CANCELLED)
self._raise_information_event('httpupload-error', phrase) self._raise_information_event('httpupload-error', phrase)
return return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment