Print the error if an error occurs.

Adds the message from the error if and when an error occurs while
checking if a file needs to be downloaded.