Improve entity resolver error message