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 65aacf8 commit 0a5bed7Copy full SHA for 0a5bed7
src/app/service/service_worker/script.ts
@@ -79,7 +79,9 @@ export class ScriptService {
79
80
listenerScriptInstall() {
81
const handleIncomingUrl = async (targetUrl: string) => {
82
- return await this.getInstallPageUrl(targetUrl, "user");
+ const url = await this.getInstallPageUrl(targetUrl, "user");
83
+ if (!url) throw new Error("getInstallPageUrl failed");
84
+ return url;
85
};
86
87
// Runs in MV3 background (service worker)
0 commit comments