chore: update pluginHandler.js (#6569)

ocurred -> occurred
This commit is contained in:
Ikko Eltociear Ashimine 2024-12-01 07:41:06 +09:00 committed by GitHub
parent da5d03b0e7
commit 18167499d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -139,7 +139,7 @@ module.exports.pluginHandler = function (parent) {
try {
obj.plugins[p][hookName](...args);
} catch (e) {
console.log("Error ocurred while running plugin hook" + p + ':' + hookName + ' (' + e + ')');
console.log("Error occurred while running plugin hook" + p + ':' + hookName + ' (' + e + ')');
}
}
}
@ -205,7 +205,7 @@ module.exports.pluginHandler = function (parent) {
panel[p].header = obj.plugins[p].on_device_header();
panel[p].content = obj.plugins[p].on_device_page();
} catch (e) {
console.log("Error ocurred while getting plugin views " + p + ':' + ' (' + e + ')');
console.log("Error occurred while getting plugin views " + p + ':' + ' (' + e + ')');
}
}
}