add error handling at convert and io processing
Merge branch 'error-handling'