Plugins: Pass PluginEventInfo instead of PluginErrorEventArgs to ErrorHandler
This commit is contained in:
@@ -233,7 +233,7 @@ namespace Il2CppInspector.CLI
|
||||
|
||||
// Set plugin handlers
|
||||
PluginManager.ErrorHandler += (s, e) => {
|
||||
Console.Error.WriteLine($"The plugin {e.Plugin.Name} encountered an error while executing {e.Operation}: {e.Exception.Message}."
|
||||
Console.Error.WriteLine($"The plugin {e.Error.Plugin.Name} encountered an error while executing {e.Error.Operation}: {e.Error.Exception.Message}."
|
||||
+ " The application will continue but may not behave as expected.");
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user