• Louis Simoneau's avatar
    Guard against log entry pages not containing 'entries' key (#170) · 8b8177b4
    Louis Simoneau authored
    In practice, when requesting logs going back more than a few days, the
    StackDriver API sometimes responds with an empty page with a next page
    cursor. After polling the next page a few times you eventually start
    getting entries. The empty pages have no `entries` key, which previously
    resulted in a KeyError.
    
    This change allows the extractor to continue polling instead of blowing up.
    8b8177b4
Name
Last commit
Last update
.github Loading commit data...
databuilder Loading commit data...
docs/assets Loading commit data...
example Loading commit data...
tests Loading commit data...
.dockerignore Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
LICENSE Loading commit data...
MANIFEST.in Loading commit data...
Makefile Loading commit data...
NOTICE Loading commit data...
README.md Loading commit data...
requirements.txt Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...