Added gitignore file
Use sendError in sendDigest