Fix plugin errors show incorrect error stack

Fix master server showing the stack of the PluginError instance on
startup instead of the original error that the plugin threw.
This commit is contained in:
Hornwitser committed 2020-11-30 02:49:06 +01:00
1 parent 7b75d4f0bb
commit 93752e671e
1 file changed
+1 -2
+1 -2
View File
@@ -2004,9 +2004,8 @@ ${err.stack}`
${err.pluginName} plugin threw an unexpected error
during startup, please report it to the plugin author.
------------------------------------------------------
${err.stack}`
${err.original.stack}`
);
err = err.original;
} else {
logger.fatal(`
+---------------------------------------------------------------+