Files
cjyyzx/patches/@upstash__qstash.patch
T
xiaohei 428644e286
Revalidate Docs / Revalidate Docs (push) Failing after 2s
E2E CI / Check Duplicate Run (push) Failing after 5s
Test CI / Check Duplicate Run (push) Failing after 6s
E2E CI / Test Web App (push) Has been skipped
Test CI / Test Packages (push) Has been skipped
Test CI / Test App (shard 1/3) (push) Has been skipped
Test CI / Test App (shard 2/3) (push) Has been skipped
Test CI / Test App (shard 3/3) (push) Has been skipped
Test CI / Test Desktop App (push) Has been skipped
🔄 Branch Synchronization / sync-branches (push) Failing after 11s
Test CI / Test Database (push) Has been skipped
Test CI / Merge and Upload App Coverage (push) Has been skipped
Database Schema Visualization CI / build (push) Failing after 4m14s
Enterprise AI Workspace prototype: LobeChat (de-branded) + Enterprise Gateway + Postgres/Redis stack
2026-04-21 12:58:00 +08:00

38 lines
1.5 KiB
Diff

diff --git a/chunk-RQPZUJXG.mjs b/chunk-RQPZUJXG.mjs
index d1a9b4a460efc59304ec30e6bc63a127f1aac6d6..4303089796e63297f79926fc9f9bd976029b1a8e 100644
--- a/chunk-RQPZUJXG.mjs
+++ b/chunk-RQPZUJXG.mjs
@@ -326,6 +326,20 @@ var HttpClient = class {
}
if (response.status < 200 || response.status >= 300) {
const body = await response.text();
+ // Debug aid: log non-2xx responses to trace publish failures (e.g., 400) with context
+ try {
+ console.error(
+ "[upstash-qstash] request failed",
+ JSON.stringify({
+ status: response.status,
+ url: response.url,
+ headers: Object.fromEntries(response.headers.entries()),
+ body
+ })
+ );
+ } catch {
+ // ignore logging failures to preserve original throw path
+ }
throw new QstashError(
body.length > 0 ? body : `Error: status=${response.status}`,
response.status
@@ -1841,8 +1855,10 @@ var AutoExecutor = class _AutoExecutor {
if (error instanceof QStashWorkflowAbort) {
throw error;
}
+
+ const errorMessage = error instanceof Error ? error.message : typeof error === "object" ? JSON.stringify(error) : String(error);
throw new QStashWorkflowError(
- `Error submitting steps to QStash in partial parallel step execution: ${error}`
+ `Error submitting steps to QStash in partial parallel step execution: ${errorMessage}`
);
}
break;