Skip to content

Commit

Permalink
fix(misc): messages;
Browse files Browse the repository at this point in the history
- Clearer log messages.
  • Loading branch information
JVickery-TBS authored and duttonw committed Jul 18, 2024
1 parent 6c5aeb1 commit 5594506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckanext/xloader/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def notify(self, entity, operation):
# extension will call resource_patch and this method should
# be called again. However, url_changed will not be in the entity
# once Validation does the patch.
log.debug("Skipping xloading resource %s because the "
log.debug("Deferring xloading resource %s because the "
"resource did not pass validation yet.", resource_dict.get('id'))
return
elif not getattr(entity, 'url_changed', False):
Expand Down Expand Up @@ -154,7 +154,7 @@ def notify(self, entity, operation):

def after_resource_create(self, context, resource_dict):
if utils.requires_successful_validation_report():
log.debug("Skipping xloading resource %s because the "
log.debug("Deferring xloading resource %s because the "
"resource did not pass validation yet.", resource_dict.get('id'))
return

Expand Down

0 comments on commit 5594506

Please sign in to comment.