fix: improve error logging

Cloudflare doesn't log causes, only the messages so splitting the logs in to 2
This commit is contained in:
2024-10-27 08:48:55 -04:00
parent 34958cfa69
commit 2dcf8630ab
9 changed files with 16 additions and 32 deletions

View File

@@ -77,7 +77,7 @@ export async function queueTask(
.update(task.name.split("/").at(-1)!)
.digest("hex"),
);
console.log(hashedTaskName);
console.log("task name", hashedTaskName);
const { res } = await queueCloudTask({
...task,
name: