try { result = await this.#bypassListSettings.get({ verifySignature: true, }); } catch (ex) { if ( ex instanceof lazy.RemoteSettingsClient.InvalidSignatureError && firstTime ) { // The local database is invalid, try and reset it. await this.#bypassListSettings.db.clear(); // Now call this again. return this.#getBypassListSettings(false); } // Don't throw an error just log it, just continue with no data, and hopefully // a sync will fix things later on. console.error(ex); } return result; } } PK