added exit on exception configuration option