Skip to content

Commit

Permalink
MongoDB: Improve error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Sep 22, 2024
1 parent 27e3a02 commit 6b548b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
## Unreleased
- Table Loader: Improved conditional handling of "transformation" parameter
- Table Loader: Improved status reporting and error logging in `BulkProcessor`
- MongoDB: Improve error reporting

## 2024/09/19 v0.0.24
- MongoDB Full: Refactor transformation subsystem to `commons-codec`
Expand Down
2 changes: 1 addition & 1 deletion cratedb_toolkit/io/mongodb/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def mongodb_copy(
try:
outcome_task = task.start()
except (Exception, PanicException) as ex:
logger.error(f"Task failed: {ex}")
logger.exception(f"Task failed: {ex}")
outcome_task = False
outcome = outcome and outcome_task

Expand Down

0 comments on commit 6b548b8

Please sign in to comment.