|
|
@ -44,7 +44,7 @@ Data.loadPluginInfo = async function (pluginPath) {
|
|
|
|
} catch (err) {
|
|
|
|
} catch (err) {
|
|
|
|
var pluginDir = path.basename(pluginPath);
|
|
|
|
var pluginDir = path.basename(pluginPath);
|
|
|
|
|
|
|
|
|
|
|
|
winston.error('[plugins/' + pluginDir + '] Error in plugin.json or package.json!', err.stack);
|
|
|
|
winston.error('[plugins/' + pluginDir + '] Error in plugin.json or package.json!' + err.stack);
|
|
|
|
throw new Error('[[error:parse-error]]');
|
|
|
|
throw new Error('[[error:parse-error]]');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return pluginData;
|
|
|
|
return pluginData;
|
|
|
|