Proper error message added in:
https://github.com/discourse/discourse/commit/87d3b86484821cad88e88560be4b6fcd48e3f527