From af4fbaa7f399d90a953851f1b645ff15b14f1642 Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Tue, 1 Apr 2025 09:48:24 +0200 Subject: [PATCH] added the type of the error in the print, because some errors are not very verbose in what's going wrong --- pull_requests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pull_requests.py b/pull_requests.py index 73e1239..8209b67 100644 --- a/pull_requests.py +++ b/pull_requests.py @@ -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)