Fixes #6053: Add loggers when there is an error when displaying

compliances