Custom error reporter doesn't work?

I have in plugin.xml:


My ErrorHandler class is like this:

class ErrorHandler extends ErrorReportSubmitter { ... }

However, when my plugin throws an exception, ErrorHandler is never even
instantiated, and the "Send" button in the error dialog is gray.

Did I miss a step? If anyone could help that would be cool.

1 comment
Comment actions Permalink

Be sure to add the version="2" attribute to the root element of the plugin descriptor:

<idea-plugin version="2">...</>

Without that, IDEA will not load any extensions.



Please sign in to leave a comment.