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 1b9c712 commit 7c4b25fCopy full SHA for 7c4b25f
src/app/service/service_worker/script.ts
@@ -222,6 +222,7 @@ export class ScriptService {
222
public async openInstallPageByUrl(url: string, source: InstallSource): Promise<{ success: boolean; msg: string }> {
223
try {
224
const installPageUrl = await this.getInstallPageUrl(url, source);
225
+ if (!installPageUrl) throw new Error("getInstallPageUrl failed");
226
await openInCurrentTab(installPageUrl);
227
return { success: true, msg: "" };
228
} catch (err: any) {
0 commit comments