mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-17 23:18:00 +00:00
Carry the extraction failure code into the indexer
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user