Skip to content

Commit

Permalink
Justeringer logging skattegrunnlag
Browse files Browse the repository at this point in the history
  • Loading branch information
rinnan17 committed Oct 18, 2024
1 parent 2a1cc1d commit 4561893
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ open class GrunnlagsConsumer {
secureLogger.warn { "Skattegrunnlag er ikke tilgjengelig ennå for $ident og perioden $fom - $tom" }

// Legger ut tom liste hvis det ikke finnes data
} else if ((restResponse.statusCode == HttpStatus.NOT_FOUND) &&
(fantIkkeSkattegrunnlag(restResponse.message)) ||
(restResponse.statusCode == HttpStatus.INTERNAL_SERVER_ERROR) &&
(fantIkkeSkattegrunnlag(restResponse.message))
} else if (restResponse.statusCode == HttpStatus.NOT_FOUND &&
fantIkkeSkattegrunnlag(restResponse.message) ||
restResponse.statusCode == HttpStatus.INTERNAL_SERVER_ERROR &&
fantIkkeSkattegrunnlag(restResponse.message)
) {
logger.warn("Fant ikke skattegrunnlag for personen")
secureLogger.warn { "Fant ikke skattegrunnlag for $ident og perioden $fom - $tom" }
Expand Down

0 comments on commit 4561893

Please sign in to comment.