mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Changed plugin load errors to debug and reworded plugin init/load error messages
This commit is contained in:
parent
a4cdb89987
commit
0e83de205b
@ -296,20 +296,16 @@ impl State {
|
||||
game_mode,
|
||||
})
|
||||
{
|
||||
tracing::error!(?e, "Failed to run plugin init");
|
||||
tracing::info!(
|
||||
"Error occurred when loading plugins. Running without plugins instead."
|
||||
);
|
||||
tracing::debug!(?e, "Failed to run plugin init");
|
||||
tracing::info!("Plugins disabled, enable debug logging for more information.");
|
||||
PluginMgr::default()
|
||||
} else {
|
||||
plugin_mgr
|
||||
}
|
||||
},
|
||||
Err(e) => {
|
||||
tracing::error!(?e, "Failed to read plugins from assets");
|
||||
tracing::info!(
|
||||
"Error occurred when loading plugins. Running without plugins instead."
|
||||
);
|
||||
tracing::debug!(?e, "Failed to read plugins from assets");
|
||||
tracing::info!("Plugins disabled, enable debug logging for more information.");
|
||||
PluginMgr::default()
|
||||
},
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user