Skip to content

Commit

Permalink
Refactor samba document processor
Browse files Browse the repository at this point in the history
  • Loading branch information
mawandm committed Aug 17, 2024
1 parent 94451d6 commit 959b71c
Show file tree
Hide file tree
Showing 5 changed files with 219 additions and 294 deletions.
4 changes: 2 additions & 2 deletions nesis/api/core/document_loaders/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,9 @@ def _sync_document(
)

_LOG.info(f"Done syncing object {item['Key']} in bucket {bucket_name}")
except Exception as ex:
except:
_LOG.warning(
f"Error when getting and ingesting document {item['Key']} - {ex}",
f"Error when getting and ingesting document {item['Key']}",
exc_info=True,
)

Expand Down
Loading

0 comments on commit 959b71c

Please sign in to comment.