Codebase list gnome-shell-extension-appindicator / f5e22b4
util: Unset cached properties on refresh failure and throw the error We need to handle it at upper levels, not in an utility function Marco Trevisan (TreviƱo) 1 year, 7 months ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
7676 if (!e.matches(Gio.IOErrorEnum, Gio.IOErrorEnum.CANCELLED)) {
7777 // the property may not even exist, silently ignore it
7878 Logger.debug(`While refreshing property ${propertyName}: ${e}`);
79 proxy.set_cached_property(propertyName, null);
7980 proxy._proxyCancellables.delete(propertyName);
8081 if (proxy._proxyChangedProperties)
8182 delete proxy._proxyChangedProperties[propertyName];
83 throw e;
8284 }
8385 }
8486 }