module.error for better exec error handling