Skip to content

Commit 3ef0402

Browse files
committed
fix(provenance): stop a broad catch claiming an incomplete bundle
The catch around table-row provenance loading also covers a database failure in loadTableRowSecretProvenance, which is not an incomplete bundle. Naming a reason the catch cannot know is the misattribution this work exists to remove, so it reports 'unspecified' with its origin, matching every sibling catch. The decrypt catch keeps its specific reason because its try wraps only the decrypt call.
1 parent fa9536b commit 3ef0402

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sim/lib/copilot/tools/handlers/function-execute.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ export async function resolveInputFiles(
538538
})
539539
}
540540
} catch {
541-
resolvedSecretTraceRegistry.markIncomplete('source-provenance-incomplete', {
541+
resolvedSecretTraceRegistry.markIncomplete('unspecified', {
542542
origin: 'copilotFunctionExecute.result',
543543
})
544544
}

0 commit comments

Comments
 (0)