diff --git a/apps/sim/background/workflow-column-execution.ts b/apps/sim/background/workflow-column-execution.ts index f5c90dcabf3..8bfd7b4bc2d 100644 --- a/apps/sim/background/workflow-column-execution.ts +++ b/apps/sim/background/workflow-column-execution.ts @@ -582,7 +582,7 @@ async function runWorkflowAndWriteTerminal( await enrichmentRegistry.importCrossingProvenance(inputProvenance, enrichInputs, { trusted: true, }) - const { result, cost, error, detail } = await runEnrichment(enrichment, enrichInputs, { + const { result, cost, detail } = await runEnrichment(enrichment, enrichInputs, { tableId, rowId, workspaceId, @@ -604,20 +604,6 @@ async function runWorkflowAndWriteTerminal( return 'error' } - // Every provider that ran errored (auth / rate-limit / outage) — surface - // it rather than writing a blank cell that looks like "no data found". - if (error) { - await writeState({ - status: 'error', - executionId, - jobId: null, - workflowId: statusId, - error, - enrichmentDetails: detail, - }) - return 'error' - } - /** * Record the triggerer or system fallback as actor while charging the * exact workspace payer. Billing failures do not fail a successful cell. diff --git a/apps/sim/enrichments/work-email/work-email.ts b/apps/sim/enrichments/work-email/work-email.ts index 5fe87917e36..c001fc11c44 100644 --- a/apps/sim/enrichments/work-email/work-email.ts +++ b/apps/sim/enrichments/work-email/work-email.ts @@ -20,7 +20,7 @@ export const workEmailEnrichment: EnrichmentConfig = { icon: Mail, inputs: [ { id: 'fullName', name: 'Full name', type: 'string', required: true }, - { id: 'companyDomain', name: 'Company domain', type: 'string' }, + { id: 'companyDomain', name: 'Company domain', type: 'string', required: true }, { id: 'linkedinUrl', name: 'LinkedIn URL', type: 'string' }, ], outputs: [{ id: 'email', name: 'email', type: 'string' }],