Commit 0059aae
authored
file_packager.py: Handle failure to get cached package (#21328)
In certain scenarios (such as when quota is exceeded), it's possible for a metadata entry to exist, but the package data to be missing - and `event.target.result` will be undefined.
Check for and properly handle this by calling `errback`, so that the `preloadFallback` gets triggered.1 parent 34c83d8 commit 0059aae
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
914 | 914 | | |
915 | 915 | | |
916 | 916 | | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
917 | 921 | | |
918 | 922 | | |
919 | 923 | | |
| |||
0 commit comments