mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 23:14:53 +09:00
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:
1 parent
7b75d4f0bb
commit
93752e671e
1 file changed
+1
-2
@@ -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(`
|
||||
+---------------------------------------------------------------+
|
||||
|
||||
Reference in new issue
Block a user