Skip to content

Commit

Permalink
R - Logger hele responsen fra pesys
Browse files Browse the repository at this point in the history
  • Loading branch information
dskarpas committed Dec 16, 2024
1 parent 11875ba commit e769955
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ class BehandleHendelseKlient(
"/",
httpEntity,
String::class.java
).also { logger.info("""********** Kvittering fra opprettelse av krav mot PEN ************ | PostResponse: ${it.toJson()}""") }
).also { logger.info("""********** Kvittering fra opprettelse av krav mot PEN ************
|| PostResponse: ${it.toJson()}""".trimMargin()) }
} catch (ex: HttpStatusCodeException) {
logger.error("En feil oppstod under opprettelse av behandlehendlse ex: ", ex)
throw RuntimeException("En feil oppstod under opprettelse av behandlehendelse ex: ${ex.message} body: ${ex.responseBodyAsString}")
Expand Down

0 comments on commit e769955

Please sign in to comment.