Skip to content

Commit

Permalink
fix: wrong log message when updating DOAPs
Browse files Browse the repository at this point in the history
  • Loading branch information
jnussbaum authored Oct 12, 2023
1 parent 5baa5cc commit 0d9363b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dsp_permissions_scripts/utils/doap_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def apply_updated_doaps_on_server(
)
_log_and_print_doap_update(doap=new_doap, state="after")
except Exception: # pylint: disable=broad-exception-caught
logger.error(f"ERROR while updating permissions of resource {d.doap_iri}", exc_info=True)
warnings.warn(f"ERROR while updating permissions of resource {d.doap_iri}")
logger.error(f"ERROR while updating DOAP {d.doap_iri}", exc_info=True)
warnings.warn(f"ERROR while updating DOAP {d.doap_iri}")

print(f"{get_timestamp()}: All DOAPs have been updated.")

0 comments on commit 0d9363b

Please sign in to comment.