Skip to content

Commit 26fe42d

Browse files
committed
docs: 澄清保存错误响应的隐私边界
1 parent 2a72710 commit 26fe42d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/lib/question-save-error-response.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const AI_REASONS = new Set([
99
'AI_OUTPUT_TRUNCATED', 'AI_UNKNOWN_ERROR',
1010
]);
1111

12-
/** 只返回可公开的错误分类,原始 SQL、路径、凭据和服务商响应留在服务端日志中。 */
12+
/** 只返回可公开的错误分类,响应不包含原始 SQL、路径、凭据或服务商原文。 */
1313
export function questionSaveErrorResponse(error: unknown, stage: QuestionSaveFailureStage = 'save') {
1414
const message = getErrorMessage(error);
1515
if (stage === 'grade') {

0 commit comments

Comments
 (0)