Fix throwing exception from customer management.