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 )
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 = '' ):
plugin. on_error( code, message )
for plugin in self.plugins:
# exit code
sys.exit( code )
Of course, you will have to import sys..