We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fb72e1 commit 4ce9230Copy full SHA for 4ce9230
src/run/handlers/tags-handler.cts
@@ -126,12 +126,7 @@ async function doRevalidateTagAndPurgeEdgeCache(tags: string[]): Promise<void> {
126
}),
127
)
128
129
- await purgeCache({ tags, userAgent: purgeCacheUserAgent }).catch((error) => {
130
- // TODO: add reporting here
131
- getLogger()
132
- .withError(error)
133
- .error(`[NextRuntime]: Purging the cache for tags ${tags.join(', ')} failed`)
134
- })
+ purgeEdgeCache(tags)
135
}
136
137
export function markTagsAsStaleAndPurgeEdgeCache(tagOrTags: string | string[]) {
0 commit comments