File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
src/main/kotlin/no/nav/hjelpemidler/api Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -53,9 +53,11 @@ internal fun Route.ordrelinjeAPI(context: Context) {
53
53
publiserMelding(context, ordrelinje, melding)
54
54
call.respond(HttpStatusCode .OK )
55
55
} catch (e: RapidsAndRiverException ) {
56
+ logg.error(e) { " Feil under prosessering" }
56
57
call.respond(HttpStatusCode .InternalServerError , " Feil under prosessering" )
57
58
return @post
58
59
} catch (e: RuntimeException ) {
60
+ logg.error(e) { " Feil under prosessering" }
59
61
call.respond(HttpStatusCode .OK )
60
62
return @post
61
63
}
Original file line number Diff line number Diff line change @@ -34,9 +34,11 @@ internal fun Route.serviceforespørselAPI(context: Context) {
34
34
publiserMelding(context, serviceForespørselEndring, sfMessage)
35
35
call.respond(HttpStatusCode .OK )
36
36
} catch (e: RapidsAndRiverException ) {
37
+ logg.error(e) { " Feil under prosessering" }
37
38
call.respond(HttpStatusCode .InternalServerError , " Feil under prosessering" )
38
39
return @post
39
40
} catch (e: RuntimeException ) {
41
+ logg.error(e) { " Feil under prosessering" }
40
42
call.respond(HttpStatusCode .OK )
41
43
return @post
42
44
}
You can’t perform that action at this time.
0 commit comments