Skip to content

Commit

Permalink
Merge pull request #1409 from hackforla/1261-add-logging-prefect
Browse files Browse the repository at this point in the history
log reload page content if reloading "failed"
  • Loading branch information
nichhk authored Oct 24, 2022
2 parents 53af833 + ff7051d commit 1b61346
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/prefect/tasks/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,5 @@ def reload_reports():
if SUCCESS_STRING in result:
logger.info(f"Report reloading successful: {reload_path}")
else:
logger.warning("Report reloading FAILED")
logger.warning("Report reloading FAILED. Reload page content: %s",
result)

0 comments on commit 1b61346

Please sign in to comment.