slice in exit on error setting