Skip to main content
← Back to list
01Issue
BugOpenExtensions
AssigneesNone

Relationships

#1407 azure-kv error wrapping loses original error type — ERROR_TYPE always 'Error' in traces

Opened by stack72 · 7/26/2026

In vault/azure-kv/extensions/vaults/azure_kv.ts, methods like deleteAnnotation, getAnnotation, putAnnotation, and listAnnotations wrap SDK errors in plain new Error(..., { cause: error }) before recording on the OTel span, so error.name is always the uninformative string Error. In contrast, 1Password and AWS SM preserve the original error's .name (e.g. AwsSmOperationError). Structured error types would improve trace filterability. Consider preserving the original error type or creating a typed AzureKvOperationError wrapper similar to aws-sm's AwsSmOperationError.

02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED

Open

7/26/2026, 12:12:17 AM

No activity in this phase yet.

03Sludge Pulse

Sign in to post a ripple.