TenzinGayche commited on
Commit
48aed8d
·
verified ·
1 Parent(s): 7c0103d

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +2 -1
handler.py CHANGED
@@ -286,7 +286,8 @@ def _run_align_script(bo_fn, en_fn, output_dir):
286
  if output_fn.exists() and output_fn.is_file():
287
  content = output_fn.read_text()
288
  if content:
289
- logging.info(f"Contents of {output_fn}: {content[:100]}...") # Log first 100 characters
 
290
  else:
291
  logging.warning(f"The file {output_fn} is empty.")
292
  else:
 
286
  if output_fn.exists() and output_fn.is_file():
287
  content = output_fn.read_text()
288
  if content:
289
+ logging.info(f"Length of content in bo.tx.clean{output_fn}: {len(content)}")
290
+ logging.info(f"Contents of {output}: {output.stdout}")
291
  else:
292
  logging.warning(f"The file {output_fn} is empty.")
293
  else: