Skip to content

Commit

Permalink
traceback info for imported filename
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Jan 8, 2018
1 parent 6726712 commit 2e51358
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ Breaking changes:

New features:

- *add item here*
- Added traceback info of filename to importer in order to ease debugging.
[jensens]

Bug fixes:

Expand Down
1 change: 1 addition & 0 deletions plone/app/registry/exportimport/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def importRegistry(context):

importer = RegistryImporter(registry, context)
for filepath in filepaths:
__traceback_info__ = filepath
body = context.readDataFile(filepath)
if body is not None:
importer.importDocument(body)
Expand Down

0 comments on commit 2e51358

Please sign in to comment.