Skip to content
Snippets Groups Projects
Commit 63ffe02e authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Log the reason if we cannot load a Debian .changes file.

parent c45f587b
No related branches found
No related tags found
No related merge requests found
......@@ -229,7 +229,10 @@ class DotChangesFile(DebControlFile):
try:
file._deb822 = Changes(filename=file.path)
except ChangesFileException:
except ChangesFileException as exc:
logger.warning(
f"Rejecting {file.path} as a Debian .changes file: {exc}"
)
return False
try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment