Add printer-config integration and Rust transformation flow docs
This commit is contained in:
@@ -112,11 +112,11 @@ public class Worker : BackgroundService
|
||||
|
||||
try
|
||||
{
|
||||
// Get document configuration
|
||||
// Get document configuration from printer-config.json
|
||||
var config = _documentProcessor.GetDocumentConfig(job.DocumentType);
|
||||
if (config == null)
|
||||
{
|
||||
throw new InvalidOperationException($"No configuration found for document type: {job.DocumentType}");
|
||||
throw new InvalidOperationException($"No configuration found for document type '{job.DocumentType}' in printer-config.json");
|
||||
}
|
||||
|
||||
// Read file content
|
||||
|
||||
Reference in New Issue
Block a user