Skip to content

Commit 129e6a1

Browse files
committed
debug
1 parent a676459 commit 129e6a1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/LayerCache.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,14 +172,15 @@ class LayerCache {
172172
}
173173

174174
private async restoreLayers() {
175-
const restoring = (await this.getLayerIds()).map(layerId => this.restoreSingleLayerBy(layerId))
175+
const restoring = (await this.getLayerIds()).map(layerId => this.restoreSingleLayerBy(layerId));
176176
const restoredLayerKeysThatMayContainUndefined = await Promise.all(restoring)
177-
core.debug(JSON.stringify({ restoredLayerKeysThatMayContainUndefined }))
177+
core.debug(JSON.stringify({ log: `restoreLayers`, restoredLayerKeysThatMayContainUndefined }))
178178
const FailedToRestore = (restored: string | undefined) => restored === undefined
179179
return restoredLayerKeysThatMayContainUndefined.filter(FailedToRestore).length === 0
180180
}
181181

182182
private async restoreSingleLayerBy(id: string): Promise<string | undefined> {
183+
core.debug(JSON.stringify({ log: `restoreSingleLayerBy`, id }))
183184
return await cache.restoreCache([this.genSingleLayerStorePath(id)], this.genSingleLayerStoreKey(id))
184185
}
185186

0 commit comments

Comments
 (0)