Is it really a good idea to include the key in the exception message? If, for example, the error message is dumped to the user, the API key would be exposed, wouldn't it?