Improved logging of upload failures.

When running with high verbosity repeated error messages are not
suppressed like they are at normal verbosity. (Another suggestion from
Vladimir Michl.)