Skip to content

Commit

Permalink
Increase log level in get_files_diff (#828)
Browse files Browse the repository at this point in the history
Increase log level in get_files_diff

Ogr debug level strings don't reach Splunk.

Reviewed-by: Nikola Forró
  • Loading branch information
softwarefactory-project-zuul[bot] authored Dec 21, 2023
2 parents 4d2efab + d7b1eac commit 77ee3b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ogr/services/pagure/pull_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def get_files_diff(
f"While retrieving PR diffstats Pagure returned ENOPRSTATS. \n{ex}",
)
if attempt < retries:
logger.debug(
logger.error(
f"Trying again; attempt={attempt} after {wait_seconds}seconds",
)
attempt += 1
Expand Down

0 comments on commit 77ee3b8

Please sign in to comment.