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.
Note that calling `str(e)` here is unnecessary since that is what the `%s` format modifier does anyway.