Skip to content

Commit

Permalink
Update extension-manager.js
Browse files Browse the repository at this point in the history
  • Loading branch information
LilyMakesThings authored Feb 9, 2024
1 parent 9622516 commit 31746b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/extension-support/extension-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,8 @@ class ExtensionManager {
});

if (!menuItems || menuItems.length < 1) {
throw new Error(`Extension menu returned no items: ${menuItemFunctionName}`);
console.warn(`Extension menu returned no items: ${menuItemFunctionName}`);
return [''];
}
return menuItems;
}
Expand Down

0 comments on commit 31746b7

Please sign in to comment.