Improved error message via:
https://github.com/discourse/discourse/commit/ff44515a18bb9132aa6bd22c85d5a6a91f6efb70