Carry the extraction failure code into the indexer

This commit is contained in:
Thorsten Sommer committed 2026-09-09 10:42:02 +02:00
1 parent 4c69434c47
commit 6dd2389a99
4 files changed
+129 -2

No files matched your search

@@ -372,7 +372,7 @@ public sealed partial class RustService
error.DetectedFormat,
error.Message);
throw new InvalidOperationException($"Rust could not extract '{path}': {error.Message}");
throw new FileExtractionException(error.ParsedCode, $"Rust could not extract '{path}': {error.Message}", error.PageNumber, error.DetectedFormat);
}
if (processedEvent.PromptInjection is { } promptInjection)