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

fix(koto) improve logging #625

Closed
wants to merge 3 commits into from
Closed

fix(koto) improve logging #625

wants to merge 3 commits into from

Conversation

saku-koodari
Copy link
Contributor

Lokien mukaan joko runCatching ei välttämättä nappaa virhettä, tai luen niitä väärin.

  1. Vaihdettu se try-catch
  2. Lisätty key-value arvoja, joilla tarkastetaan, onnistuiko parsiminen

@saku-koodari saku-koodari self-assigned this Dec 30, 2024
)
}.getOrThrow()
event.withTryCatch(
key = "oppijanumero.parse-response.success",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

tää key, mikä laitetaan lokeihin, on varmaan aika epäkuvaava.

import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration

@Configuration
Copy link
Contributor Author

Choose a reason for hiding this comment

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

jotta lokitusta voidaan mokata

@saku-koodari
Copy link
Contributor Author

Suljetaan pullari, koska asiat on ratkaistu muissa tehtävissä myöhemin.

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.

1 participant