Skip to content

Commit 731a872

Browse files
committed
fixup: update telemetry event
1 parent 446e00b commit 731a872

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/compass-telemetry/src/telemetry-events.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,12 @@ type ConnectionFailedEvent = ConnectionScopedEvent<{
832832
* The error name.
833833
*/
834834
error_name: string;
835+
836+
/**
837+
* The error codes (or code names) from the error's cause chain.
838+
* The driver and the OIDC library we use are two places that use cause chains.
839+
*/
840+
error_code_cause_chain: (string | number)[] | undefined;
835841
} & ExtraConnectionData;
836842
}>;
837843

0 commit comments

Comments
 (0)