fix(preproc-errors): should not charge base execution cost in this case (#2719)

* fix(preproc-errors): should not charge base execution cost in this case

* remove comment
This commit is contained in:
Vikhyath Mondreti
2026-01-07 15:32:37 -08:00
committed by GitHub
parent 0f32310ba6
commit cb12ceb82c
2 changed files with 20 additions and 6 deletions

View File

@@ -541,6 +541,7 @@ async function logPreprocessingError(params: {
stackTrace: undefined,
},
traceSpans: [],
skipCost: true, // Preprocessing errors should not charge - no execution occurred
})
logger.debug(`[${requestId}] Logged preprocessing error to database`, {