-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add eventCode to event input #943
base: main
Are you sure you want to change the base?
Conversation
@@ -399,20 +405,27 @@ export class IntegrationLogger | |||
|
|||
validationFailure(err: Error) { | |||
const eventName = 'validation_failure'; | |||
const { errorId, description } = createErrorEventDescription( | |||
const { errorId, errorCode, description } = createErrorEventDescription( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All we get from the graph projects is an error during the validationFailure phase. We could enhance this but I don't know if it is necessary. Since integrationType + validationFailure is rather unique.
@@ -40,6 +40,10 @@ export type IntegrationEvent = { | |||
export type PublishEventInput = { | |||
name: string; | |||
description: string; | |||
/** | |||
* Allows the event to be identified via a code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add examples to the docstrings?
No description provided.