Emit some notice that an error occurred for a given API key

This is totally untested because I have no way to run it, but it passes pyflakes.