added the type of the error in the print, because

some errors are not very verbose in what's going wrong
This commit is contained in:
Karma Riuk
2025-04-01 09:48:24 +02:00
parent c31686ad63
commit af4fbaa7f3

View File

@ -395,7 +395,7 @@ def process_repo(
process_pull(repo, pr, dataset, repos_dir, archive_destination, cache)
dataset.to_json(args.output)
except Exception as e:
tqdm.write(f"[ERROR] PR #{pr.number} in {repo.full_name}: {e}")
tqdm.write(f"[ERROR] PR #{pr.number} in {repo.full_name}. {type(e)}: {e}")
finally:
pbar.update(1)