Skip to content

Commit

Permalink
Fix: generic proxy error data display
Browse files Browse the repository at this point in the history
  • Loading branch information
shamoon committed Jan 21, 2025
1 parent fe462a7 commit b9622f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/proxy/handlers/generic.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default async function genericProxyHandler(req, res, map) {
error: {
message: "HTTP Error",
url: sanitizeErrorURL(url),
resultData: Buffer.isBuffer(resultData) ? Buffer.from(resultData).toString() : resultData,
data: Buffer.isBuffer(resultData) ? Buffer.from(resultData).toString() : resultData,
},
});
}
Expand Down

0 comments on commit b9622f7

Please sign in to comment.