Skip to content

Commit

Permalink
Kall til Exception fungerer ikke (#6736)
Browse files Browse the repository at this point in the history
* Kall til Exception fungerer ikke

* Fjern forsøk på stacktrace
  • Loading branch information
sebassonav authored Jan 8, 2025
1 parent 4a9e1fa commit 0fce37f
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,12 @@ fun loggDelvisReturnerteData(
}

result.errors?.joinToString(",")?.let { feil ->
val stackTrace = Exception()
logger.error(
"Fikk data fra PDL, men også feil / mangler. Dette kan gjøre at saksbehandler får et " +
"ukomplett bilde av dataene i PDL, uten at vi indikerer dette." +
" Se sikkerlogg for feilmelding",
stackTrace,
)
sikkerLogg.error("PDL feil $feil \n\n Request: $req", stackTrace)
sikkerLogg.error("PDL feil $feil \n\n Request: $req")
}
}
}
Expand Down

0 comments on commit 0fce37f

Please sign in to comment.