Guard against log entry pages not containing 'entries' key (#170)
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.
Showing
Please register or sign in to comment