mirror of
https://github.com/karma-riuk/crab.git
synced 2025-07-05 05:28:13 +02:00
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:
@ -395,7 +395,7 @@ def process_repo(
|
|||||||
process_pull(repo, pr, dataset, repos_dir, archive_destination, cache)
|
process_pull(repo, pr, dataset, repos_dir, archive_destination, cache)
|
||||||
dataset.to_json(args.output)
|
dataset.to_json(args.output)
|
||||||
except Exception as e:
|
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:
|
finally:
|
||||||
pbar.update(1)
|
pbar.update(1)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user