Print stdin output

This commit is contained in:
George Lacey 2021-05-07 10:45:05 +01:00
parent 07f8007399
commit f8322c0bfa

View File

@ -24,6 +24,7 @@ def main(args, path: Path, log: Log):
else: else:
log.debug("reading from stdin") log.debug("reading from stdin")
borg_output = " ".join(stdin.readlines()) borg_output = " ".join(stdin.readlines())
log.debug(f"stdin output: {borg_output}")
if args.label is None: if args.label is None:
log.error("No label supplied") log.error("No label supplied")
raise Exception("No label supplied") raise Exception("No label supplied")