diff --git a/src/caoscrawler/crawl.py b/src/caoscrawler/crawl.py index bacc5356b7b14f43d44db25c461c717fa9c39bc9..3c93f12aee49f3ab2b67e8ed89c84c69fb9dfeae 100644 --- a/src/caoscrawler/crawl.py +++ b/src/caoscrawler/crawl.py @@ -1030,7 +1030,7 @@ def crawler_main(crawled_directory_path: str, logger.error(err) return 1 if provenance_file is not None and debug: - crawler.save_debug_data(debug_tree, provenance_file) + crawler.save_debug_data(debug_tree=debug_tree, filename=provenance_file) if identifiables_definition_file is not None: ident = CaosDBIdentifiableAdapter()