throw exception when API keys are not available

API keys are expected to be set as environment variables. Otherwise
catch the originally thrown exception, log a beautiful message, and
rethrow the exception