Improves the logging message when a resource cannot be located, shows the expected resource type