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

Inntektsjustering legge til inntekt i omregningsflyt #6449

Merged
merged 5 commits into from
Nov 27, 2024

Conversation

Bjodn
Copy link
Contributor

@Bjodn Bjodn commented Nov 26, 2024

No description provided.

@Bjodn Bjodn marked this pull request as ready for review November 26, 2024 11:55
@Bjodn Bjodn requested a review from a team as a code owner November 26, 2024 11:55
@Bjodn Bjodn force-pushed the inntektsjustering-legge-til-inntekt branch 2 times, most recently from 45122fa to eea5b0f Compare November 26, 2024 12:04
@Bjodn Bjodn force-pushed the inntektsjustering-legge-til-inntekt branch 2 times, most recently from d0d1a54 to 6dba6c1 Compare November 26, 2024 15:33
@Bjodn Bjodn force-pushed the inntektsjustering-legge-til-inntekt branch from 6dba6c1 to 49c3bd9 Compare November 26, 2024 15:36
} catch (e: JsonMappingException) {
sikkerLogg.error("Feil under deserialisering", e)
logger.error("Feil under deserialisering av inntektsjustering (id=${inntektsjustering.id}). Se sikkerlogg for detaljer.")
throw e
} catch (e: Exception) {
logger.error("Uhåndtert feilsituasjon TODO : $", e)
throw e
// throw e TODO ta stilling til hvordan feil her skal håndteres...
Copy link
Contributor

Choose a reason for hiding this comment

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

Er ikke denne tryggere å bare beholde som throw e hvis vi ikke har en bedre avklaring?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Jeg fjernet den mest fordi det hadde køet opp flere meldinger som gjorde at appen havnet i crash loop. Vi bør gjøre det samme som for søknader. Der kastes ikke feilmelding videre men hvis alt er ok så sendes det en melding tilbake når alt er ok.

@Bjodn Bjodn merged commit aa7ef8d into main Nov 27, 2024
35 checks passed
@Bjodn Bjodn deleted the inntektsjustering-legge-til-inntekt branch November 27, 2024 08:15
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