diff --git a/src/main/kotlin/no/nav/sykdig/digitalisering/papirsykmelding/api/SmregistreringClient.kt b/src/main/kotlin/no/nav/sykdig/digitalisering/papirsykmelding/api/SmregistreringClient.kt index cf33605f..6534ec00 100644 --- a/src/main/kotlin/no/nav/sykdig/digitalisering/papirsykmelding/api/SmregistreringClient.kt +++ b/src/main/kotlin/no/nav/sykdig/digitalisering/papirsykmelding/api/SmregistreringClient.kt @@ -60,6 +60,7 @@ class SmregistreringClient( ): ResponseEntity { if(!isValidOppgaveId(oppgaveId)) throw IllegalArgumentException("Invalid oppgaveId does not contain only alphanumerical characters. oppgaveId: $oppgaveId") + log.info("OppgveId is valid: $oppgaveId") val headers = HttpHeaders() headers.contentType = MediaType.APPLICATION_JSON headers.setBearerAuth(removeBearerPrefix(authorization)) @@ -76,6 +77,7 @@ class SmregistreringClient( HttpEntity(headers), PapirManuellOppgave::class.java, ) + log.info("papirsykmelding: Body from proxy call to smreg ${res.body} ") return res }