Skip to content

Commit

Permalink
Merge pull request #430 from rhunwicks/fix-346-better-reporting
Browse files Browse the repository at this point in the history
Fix #346 better reporting
  • Loading branch information
bmihelac committed Mar 29, 2016
2 parents e95c1cb + ee2eb75 commit 5d501d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion import_export/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ def import_data(self, dataset, dry_run=False, raise_errors=False,
if raise_errors:
if use_transactions:
savepoint_rollback(sp1)
six.reraise(*sys.exc_info())
raise row_result.errors[-1].error
else:
result.totals[row_result.import_type] += 1
if (row_result.import_type != RowResult.IMPORT_TYPE_SKIP or
Expand Down

0 comments on commit 5d501d6

Please sign in to comment.