Comment 2 for bug 1040995

Revision history for this message
Rafael (rafaelliu) wrote :

Looks like there's a plugin functionality built in BiT. Looking at the sources, appears to me that it already does a look of error handling through PluginManager.on_error().

A simple hack would be to edit pluginmanager.py and add a sys.exit() call:

        def on_error( self, code, message = '' ):
                for plugin in self.plugins:
                        plugin.on_error( code, message )

                # exit code
                sys.exit( code )

Of course, you will have to import sys..