On May 2, 2014, at 10:28 AM, Doug Hellmann <doug.hellm...@dreamhost.com> wrote:
> As Robert said, libraries should not be calling sys.exit() or raising > SystemExit directly, ever. > > Throwing SystemExit from a library bypasses other exception handling > cleanup code higher in the stack that is unlikely to be looking for > fatal exceptions like SystemExit (because well-behaved libraries don't > throw those exceptions). Libraries should define meaningful > exceptions, subclassed from Exception, which the main application can > log before deciding whether to exit, retry, pick another driver, or > whatever. I’ll add this to the list of items to address as part of the clean up of the Neutron core code. mark _______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev