We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 766e5c6 commit 2c30b7aCopy full SHA for 2c30b7a
src/Core/Package.vala
@@ -487,11 +487,7 @@ public class AppCenterCore.Package : Object {
487
488
public async void uninstall () throws Error {
489
if (state == State.INSTALLED || state == State.UPDATE_AVAILABLE) {
490
- try {
491
- yield perform_operation (State.REMOVING);
492
- } catch (Error e) {
493
- throw e;
494
- }
+ yield perform_operation (State.REMOVING);
495
}
496
497
throw new PackageUninstallError.APP_STATE_NOT_INSTALLED (_("Application state not set as installed in AppCenter for package: %s").printf (name));
0 commit comments