Commit fd84d562 authored by Michael Terry's avatar Michael Terry

Be laxer about PackageKit errors

No matter why, if we can't query PackageKit, just continue.

Closes #4
parent 51c08ad4
Pipeline #55166 passed with stage
in 12 minutes and 57 seconds
......@@ -272,8 +272,9 @@ public abstract class Operation : Object
// This can happen when the packagekit daemon isn't installed or can't start(?)
return null;
} catch (Error e) {
raise_error("%s".printf(e.message), null);
done(false, false, null);
// For any other reason I can't foresee, we should just continue and
// hope for the best, rather than bother the user with it.
warning("%s\n".printf(e.message));
return null;
}
......
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