Log stack trace on errors loading web plugins

This commit is contained in:
Hornwitser committed 2021-03-07 14:56:48 +01:00
1 parent 415f574e2d
commit fe9cef5e1e
1 file changed
+3
+3
View File
@@ -54,6 +54,9 @@ async function loadPlugins() {
} catch (err) {
logger.error(`Failed to load plugin info for ${meta.name}`);
if (err) {
logger.error(err.stack);
}
plugins.push({
meta,
});