Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🐛 fix(deps): align QStash 2.12 patch and version (#20238)

Neko3d3439c7d923
diff --git a/package.json b/package.json
index 1789cf2fa17..5747744dbf7 100644
--- a/package.json
+++ b/package.json
@@ -345,7 +345,7 @@
"@trpc/next": "^11.18.0",
"@trpc/react-query": "^11.18.0",
"@trpc/server": "^11.18.0",
- "@upstash/qstash": "^2.11.3",
+ "@upstash/qstash": "2.12.0",
"@upstash/workflow": "^0.2.23",
"@vercel/analytics": "^1.6.1",
"@vercel/edge-config": "^1.5.1",
diff --git a/patches/@upstash__qstash.patch b/patches/@upstash__qstash.patch
index 17450e52da0..a6755313179 100644
--- a/patches/@upstash__qstash.patch
+++ b/patches/@upstash__qstash.patch
@@ -1,7 +1,8 @@
-diff --git a/chunk-JYPXGFWX.mjs b/chunk-JYPXGFWX.mjs
---- a/chunk-JYPXGFWX.mjs
-+++ b/chunk-JYPXGFWX.mjs
-@@ -1526,6 +1526,20 @@ var HttpClient = class {
+diff --git a/chunk-F7X2AQ7W.mjs b/chunk-F7X2AQ7W.mjs
+index 62b68ef..1e24e58 100644
+--- a/chunk-F7X2AQ7W.mjs
++++ b/chunk-F7X2AQ7W.mjs
+@@ -1547,6 +1547,20 @@ var HttpClient = class {
}
if (response.status < 200 || response.status >= 300) {
const body = await response.text();
@@ -17,12 +18,12 @@ diff --git a/chunk-JYPXGFWX.mjs b/chunk-JYPXGFWX.mjs
+ })
+ );
+ } catch {
-+ // ignore logging failures to preserve original throw path
++ // ignore logging failures to preserve original error path
+ }
- throw new QstashError(
+ return new QstashError(
body.length > 0 ? body : `Error: status=${response.status}`,
response.status
-@@ -2797,8 +2811,10 @@ var AutoExecutor = class _AutoExecutor {
+@@ -2841,8 +2855,10 @@ var AutoExecutor = class _AutoExecutor {
if (error instanceof QStashWorkflowAbort) {
throw error;
}