Commit 055d696d authored by Piotr Gawron's avatar Piotr Gawron
Browse files

proper variable used

parent e157e67c
......@@ -227,7 +227,7 @@ Plugin.prototype.unload = function () {
if (validPlugin) {
return self.getLoadedPluginData().unregister();
}
}).catch(function (e) {
}).catch(function (error) {
GuiConnector.warn("Plugin crashed on upload.");
if (typeof self.getLoadedPluginData().notifyError === "function") {
self.getLoadedPluginData().notifyError({error: error});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment