diff --git a/easybuild/tools/filetools.py b/easybuild/tools/filetools.py index f3bc626b2b..e7034eca5c 100644 --- a/easybuild/tools/filetools.py +++ b/easybuild/tools/filetools.py @@ -1299,7 +1299,8 @@ def verify_checksum(path, checksums): # no matching checksums return False else: - raise EasyBuildError("Invalid checksum spec '%s', should be a string (MD5) or 2-tuple (type, value).", + raise EasyBuildError("Invalid checksum spec '%s', should be a string (MD5 or SHA256) " + "2-tuple (type, value) or tuple of alternative checksum specs.", checksum) actual_checksum = compute_checksum(path, typ)