From 1817f2252d44e0035d41a2432414252ddf89c78e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 28 Feb 2026 14:33:19 +0000 Subject: [PATCH 1/2] Initial plan From a5ac94bc38749dabc2972119b3c3bd797936b28f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 28 Feb 2026 14:34:08 +0000 Subject: [PATCH 2/2] Fix RangeError explanation and PayloadTooLargeError example in database.json Co-authored-by: jaseel0 <225665919+jaseel0@users.noreply.github.com> --- lib/database.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/database.json b/lib/database.json index 9c30bd1..c5efe81 100644 --- a/lib/database.json +++ b/lib/database.json @@ -42,9 +42,9 @@ { "name": "RangeError: Maximum call stack size exceeded", "match": "Maximum call stack size exceeded", - "explanation": "Your code is stuck in an infinite loop.", - "why": "A recursive function is calling itself without stopping.", - "fixes": ["Check recursion exit conditions", "Check while loops"], + "explanation": "The call stack limit was reached due to excessive recursion or a very deep call chain.", + "why": "A recursive function is calling itself too many times without hitting a base case, or a chain of function calls builds up too deeply.", + "fixes": ["Check recursion exit conditions", "Verify recursive base cases are reachable", "Check call-chain depth and stack-building loops"], "example": "function run() { if (done) return; run(); }" }, { @@ -221,7 +221,7 @@ "explanation": "The data you sent is too big for the server.", "why": "Usually an image or file that exceeds the body-parser limit.", "fixes": ["Increase limit: app.use(express.json({limit: '50mb'}))"], - "example": "app.use(express.limit('10mb'));" + "example": "app.use(express.json({ limit: '10mb' }));" }, { "name": "TypeError: Cannot set property of null",