Skip to content

Commit f4872a6

Browse files
committed
chore: proper error handling in remove stale
1 parent afba6b0 commit f4872a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/remove-stale.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ async function processBucket(bucket) {
2828
body: JSON.stringify(body),
2929
});
3030
if (!res.ok) {
31-
console.error(`[${bucket}] Batch ${batch} - Request failed:`, json);
31+
console.error(`[${bucket}] Batch ${batch} - Request failed:`, await res.text());
3232
process.exit(1);
3333
}
3434

0 commit comments

Comments
 (0)