Skip to content

Commit b3b2cef

Browse files
committed
Simplify logging
1 parent a2eb7dc commit b3b2cef

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

workers/handler/src/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,10 @@ async function cachePurgeTag(batch: MessageBatch, env: Env) {
116116
},
117117
contentType: "json",
118118
}));
119-
console.debug("[Cache Purge Tag] Send Batch", batch);
119+
console.debug(
120+
"[Cache Purge Tag] Send Batch",
121+
batch.map(({ body }) => body),
122+
);
120123
promises.push(
121124
env.CACHE_PURGE_URL.sendBatch(batch).then(() => {
122125
const ids = urlChunk.map<string>(({ id }) => id);

0 commit comments

Comments
 (0)