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

Remove unwanted Java exception recording #175

Merged

Conversation

nadundesilva
Copy link
Contributor

@nadundesilva nadundesilva commented Jan 19, 2021

Purpose

The recorded exception is a Java level exception and therefore we should not expose it to the user through Observability. Moreover, when an exception occurs such as IOException, it will return a Ballerina level error to the user which will be automatically recorded by Observability instrumentation. Therefore this need to be removed.

Related to ballerina-platform/ballerina-lang#27966

Goals

Remove unwanted Java level exception

Approach

The added tag had been removed as this will be automatically recorded by the compiler level instrumentation.

# The recorded exception is a Java level exception and therefore we should not expose it to the user through Observability. Moreover, when an exception occurs such as IOException, it will return a Ballerina level error to the user which will be automatically recorded by Observability instrumentation. Therefore this had been removed.
@nadundesilva nadundesilva changed the title Remove unwanted exception recording Remove unwanted Java exception recording Jan 19, 2021
@chamil321 chamil321 merged commit 7a5f229 into ballerina-platform:master Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants