Skip to content
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

feat(logging): Introduce InvalidInboundConnectorException and adjust log level for missing definitions #1956

Conversation

Oleksiivanov
Copy link
Contributor

Description

Added InvalidInboundConnectorException class. This exception is specifically thrown in cases where the sanity check for connector definitions fails, such as when the required event definitions are missing.

Modified the error handling strategy within the getCorrelationPointForElement method to catch InvalidInboundConnectorException and log it as a warning. This adjustment is made to ensure consistency in how we handle and log similar errors across different connector processing methods, such as getCorrelationPointForStartEvent, where similar issues could arise.

Related issues

closes #
#1955

@Oleksiivanov Oleksiivanov self-assigned this Feb 15, 2024
@Oleksiivanov Oleksiivanov marked this pull request as ready for review February 15, 2024 15:56
@Oleksiivanov Oleksiivanov requested a review from a team as a code owner February 15, 2024 15:56
@Oleksiivanov
Copy link
Contributor Author

Oleksiivanov commented Feb 15, 2024

Should we add here backport labels for prev versions?

Copy link
Contributor

@sbuettner sbuettner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks @Oleksiivanov

@Oleksiivanov Oleksiivanov added this pull request to the merge queue Feb 16, 2024
Merged via the queue into main with commit c879a98 Feb 16, 2024
4 checks passed
@Oleksiivanov Oleksiivanov deleted the 1955-exception-handling-for-missing-event-definitions-in-inbound-connector-elements branch February 16, 2024 11:49
@chillleader
Copy link
Member

/backport

github-actions bot pushed a commit that referenced this pull request Feb 26, 2024
…log level for missing definitions (#1956)

* feat(logging): Introduce InvalidInboundConnectorException and adjust log level for missing definitions

* feat(logging): improve log message, move InvalidInboundConnectorDefinitionException to runtime-core

* feat(logging): added to InvalidInboundConnectorDefinitionException ability to add more context information

(cherry picked from commit c879a98)
Copy link
Contributor

github-actions bot pushed a commit that referenced this pull request Feb 26, 2024
…log level for missing definitions (#1956)

* feat(logging): Introduce InvalidInboundConnectorException and adjust log level for missing definitions

* feat(logging): improve log message, move InvalidInboundConnectorDefinitionException to runtime-core

* feat(logging): added to InvalidInboundConnectorDefinitionException ability to add more context information

(cherry picked from commit c879a98)
Copy link
Contributor

chillleader pushed a commit that referenced this pull request Feb 26, 2024
…log level for missing definitions (#1956)

* feat(logging): Introduce InvalidInboundConnectorException and adjust log level for missing definitions

* feat(logging): improve log message, move InvalidInboundConnectorDefinitionException to runtime-core

* feat(logging): added to InvalidInboundConnectorDefinitionException ability to add more context information

(cherry picked from commit c879a98)
chillleader pushed a commit that referenced this pull request Feb 26, 2024
…log level for missing definitions (#1956)

* feat(logging): Introduce InvalidInboundConnectorException and adjust log level for missing definitions

* feat(logging): improve log message, move InvalidInboundConnectorDefinitionException to runtime-core

* feat(logging): added to InvalidInboundConnectorDefinitionException ability to add more context information

(cherry picked from commit c879a98)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exception Handling for Missing Event Definitions in Inbound Connector Elements
3 participants