Shorten resolver error message to make them more readable