Skip to content

Commit

Permalink
Fjern log.warn melding
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikpe committed Nov 8, 2024
1 parent 957f926 commit c610651
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import no.nav.mulighetsrommet.domain.dto.Innsatsgruppe
import no.nav.mulighetsrommet.domain.dto.NorskIdent
import no.nav.mulighetsrommet.ktor.exception.StatusException
import no.nav.mulighetsrommet.tokenprovider.AccessType
import org.slf4j.LoggerFactory

class BrukerService(
private val veilarboppfolgingClient: VeilarboppfolgingClient,
Expand All @@ -38,8 +37,6 @@ class BrukerService(
private val norg2Client: Norg2Client,
private val isoppfolgingstilfelleClient: IsoppfolgingstilfelleClient,
) {
private val log = LoggerFactory.getLogger(javaClass)

suspend fun hentBrukerdata(fnr: NorskIdent, obo: AccessType.OBO): Brukerdata = coroutineScope {
val deferredErUnderOppfolging = async { veilarboppfolgingClient.erBrukerUnderOppfolging(fnr, obo) }
val deferredOppfolgingsenhet = async { veilarboppfolgingClient.hentOppfolgingsenhet(fnr, obo) }
Expand Down Expand Up @@ -145,7 +142,6 @@ class BrukerService(
.getOrElse {
when (it) {
OppfolgingstilfelleError.Forbidden -> {
log.warn("Mangler SYFO rolle for å hente oppfølgingstilfeller.")
false
}
OppfolgingstilfelleError.Error -> throw StatusException(
Expand Down

0 comments on commit c610651

Please sign in to comment.