Where should JetBrains Marketplace ErrorReportSubmitter be registered in split mode?

Hi,

The Exception Analyzer documentation says that the JetBrainsMarketplaceErrorReportSubmitter needs to be registered in the plugin.xml, but it is unclear if that changes when implementing a plugin with split mode.

My question is: in split mode, is it still the plugin.xml where it should be registered, or is there some other rule and it needs to be registered in one or more module descriptors?

Thanks!

plugin.xml is the v1/old-style location.

<errorHandler...> is an extension point. I’m registering it in a required (non-optional) shared module. Exceptions can happen on backend and frontend and you’ll want to report from both.

My question/confusion was partly because I was not sure if this is considered a sort of plugin metadata, just like <dependencySupport>, but it does make sense to register it in a required shared module.

Thank you!

It is only important for it to be visible from JetBrains client, so either shared modules or frontend.