We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d52dc86 + 308e940 commit c240e72Copy full SHA for c240e72
tornettools/archive.py
@@ -13,7 +13,10 @@ def run(args):
13
logging.critical("Unable to archive with missing tools.")
14
return
15
16
- shutil.copy2(f"{args.prefix}/shadow.data/hosts/4uthority1/cached-consensus", f"{args.prefix}/consensus")
+ try:
17
+ shutil.copy2(f"{args.prefix}/shadow.data/hosts/4uthority1/cached-consensus", f"{args.prefix}/consensus")
18
+ except FileNotFoundError as e:
19
+ logging.debug("Could not copy 'cached-consensus': %s", e)
20
21
logging.info("Compressing consensus.")
22
__xz_parallel(args, "consensus")
0 commit comments