Skip to content
Snippets Groups Projects
Commit b0de0091 authored by Guillaume Benoit's avatar Guillaume Benoit
Browse files

workaround for #1305

parent ab0b77e8
No related branches found
No related tags found
No related merge requests found
......@@ -447,6 +447,11 @@ namespace Pamac {
} catch (Error e) {
// cancelled download goes here
if (e.code != IOError.CANCELLED) {
// workaround for #1305
if (e.message == "Unacceptable TLS certificate") {
// return no error
return 0;
}
emit_download_error ("%s: %s".printf (url, e.message));
}
emit_timer.stop ();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment