Analytics events for plugin management
Summary: Send some analytics events related to plugin management: auto-update, install, uninstall, load. Reviewed By: passy Differential Revision: D25557788 fbshipit-source-id: 14dc9ae5793e9b18be13f2d483069d8d00c8b863
This commit is contained in:
committed by
Facebook GitHub Bot
parent
31ace3bd09
commit
3a65f86c68
@@ -223,6 +223,13 @@ export const requirePlugin = (
|
||||
pluginDetails: ActivatablePluginDetails,
|
||||
reqFn: Function = global.electronRequire,
|
||||
): PluginDefinition => {
|
||||
reportUsage(
|
||||
'plugin:load',
|
||||
{
|
||||
version: pluginDetails.version,
|
||||
},
|
||||
pluginDetails.id,
|
||||
);
|
||||
return tryCatchReportPluginFailures(
|
||||
() => requirePluginInternal(pluginDetails, reqFn),
|
||||
'plugin:load',
|
||||
|
||||
Reference in New Issue
Block a user