maha | added exception handling to map transformer