Skip to content

Commit

Permalink
Log error on copydocs failure (#9924)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimchamp authored Oct 2, 2024
1 parent 9eb111c commit 6ff7058
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/copydocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ def fetch(uris: list[str]) -> list[dict | web.storage]:
for group in web.group(docs, 50):
try:
print(dest.save_many(group, comment=comment))
except BaseException:
print("Something went wrong saving this batch!")
except BaseException as e:
print(f"Something went wrong saving this batch! {e}")
saved.update(keys)


Expand Down

0 comments on commit 6ff7058

Please sign in to comment.