From c4e3fd29e0355113ffed9621285615ade72592b5 Mon Sep 17 00:00:00 2001 From: JustAnotherArchivist Date: Wed, 29 Mar 2023 21:54:26 +0000 Subject: [PATCH] Add debug messages for artefacts listing --- codearchiver/cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codearchiver/cli.py b/codearchiver/cli.py index 2d05cd0..7117ef9 100644 --- a/codearchiver/cli.py +++ b/codearchiver/cli.py @@ -204,8 +204,10 @@ def main(): finally: os.chdir('..') if args.writeArtefactsFd3: + _logger.debug('Listing artefacts on FD 3') with storage.lock(): artefacts = storage.list_new_files() + _logger.debug(f'Artefacts: {artefacts!r}') with artefactsFd: for filename in artefacts: print(filename, file = artefactsFd)