MCPcopy Create free account
hub / github.com/zxlie/FeHelper / _notifyToolOpenFailure

Function _notifyToolOpenFailure

apps/background/background.js:120–128  ·  view source on GitHub ↗
(tool, error)

Source from the content-addressed store, hash-verified

118 };
119
120 let _notifyToolOpenFailure = function (tool, error) {
121 let message = `打开「${tool || '工具'}」失败:${(error && error.message) || error || '请重新点击插件图标后再试'}`;
122 console.error('[FeHelper] DynamicToolRunner failed:', message, error);
123 notifyText({
124 title: '工具打开失败',
125 message,
126 autoClose: 5000
127 });
128 };
129
130 // 像页面注入css脚本
131 let _injectContentCss = function(tabId,toolName,isDevTool){

Callers 2

background.jsFile · 0.85
_addExtensionListenerFunction · 0.85

Calls 1

notifyTextFunction · 0.70

Tested by

no test coverage detected