diff --git a/package.json b/package.json index 567f78e..8ddc9fa 100644 --- a/package.json +++ b/package.json @@ -82,4 +82,4 @@ "@commitlint/config-conventional" ] } -} \ No newline at end of file +} diff --git a/static/scripts/render-manifest.ts b/static/scripts/render-manifest.ts index 67cf768..26e6ce5 100644 --- a/static/scripts/render-manifest.ts +++ b/static/scripts/render-manifest.ts @@ -412,6 +412,10 @@ export class ManifestRenderer { private _writeNewConfig(option: "add" | "remove"): void { const selectedManifest = localStorage.getItem("selectedPluginManifest"); if (!selectedManifest) { + toastNotification("No selected plugin manifest found.", { + type: "error", + shouldAutoDismiss: true, + }); throw new Error("No selected plugin manifest found"); } const pluginManifest = JSON.parse(selectedManifest) as Manifest; @@ -437,6 +441,10 @@ export class ManifestRenderer { }); if (!pluginUrl) { + toastNotification(`No plugin URL found for ${pluginName}.`, { + type: "error", + shouldAutoDismiss: true, + }); throw new Error("No plugin URL found"); }