error handling in convert cli