Skip to content

fix(spark): suppress credential leakage in error logs#15

Open
luojiyin1987 wants to merge 1 commit into
FenjuFu:mainfrom
luojiyin1987:fix/spark-error-log
Open

fix(spark): suppress credential leakage in error logs#15
luojiyin1987 wants to merge 1 commit into
FenjuFu:mainfrom
luojiyin1987:fix/spark-error-log

Conversation

@luojiyin1987

Copy link
Copy Markdown

Closes #13

改动

lib/spark.ts 中两处屏蔽敏感信息:

  1. ws.on("error") — 原生 Error 对象可能携带含签名的 URL,替换为通用消息
  2. console.warn 回退日志 — 不再打印完整 error 对象,仅输出状态码

@netlify

netlify Bot commented Jun 7, 2026

Copy link
Copy Markdown

👷 Deploy request for goodaction-hub pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit cafbff9

@vercel

vercel Bot commented Jun 7, 2026

Copy link
Copy Markdown

@luojiyin1987 is attempting to deploy a commit to the Fenju's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant