Commit 9020176
committed
Fix people API loading racing with sheets API loading
This seems like it is a race on loading sheets and checking if sheets is
loaded, which caused an array to be given to callers of gwrap.load rather than
the single API that was asked for, breaking People API calls.
Added a new case to handle asking for a specific API even when multiple new
ones are seen in processDelta, and a log so we can check if the array is ever
returned
We are super suspicious of this code even needing to exist. It seems like an
extra, complex, over-abstracted wrapper around just using gapi directly.
This commit also has a change to make sure if LOG_USER or LOG_URL aren't set,
they don't stop the logger from loading.1 parent 0b5fd83 commit 9020176
2 files changed
Lines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| 397 | + | |
397 | 398 | | |
398 | 399 | | |
399 | 400 | | |
400 | | - | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
401 | 414 | | |
402 | 415 | | |
403 | 416 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments