Skip to content

Commit

Permalink
closes #320
Browse files Browse the repository at this point in the history
  • Loading branch information
fontanka16 committed Jun 25, 2022
1 parent 62cf6d0 commit c383b76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/folio_migration_tools/migration_tasks/batch_poster.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ def post_batch(self, batch, failed_recs_file, num_records, recursion_depth=0):
try:
logging.info(response.text)
resp = json.dumps(response, indent=4)
except TypeError:
resp = response
except Exception:
logging.exception("something unexpected happened")
resp = response
Expand Down

0 comments on commit c383b76

Please sign in to comment.