Changed disp command to error on error warnings