Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-olaveide committed May 15, 2023
1 parent 2f24af6 commit 4bed299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/no/nav/aap/api/felles/graphql/GraphQL.kt
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ abstract class AbstractGraphQLAdapter(client : WebClient, cfg : AbstractRestConf
.onErrorMap {
when(it) {
is FieldAccessException -> it.oversett()
is GraphQlTransportException -> BadGraphQLException(BAD_REQUEST,"Transport error",it)
is GraphQlTransportException -> BadGraphQLException(BAD_REQUEST,it.message ?: "Transport feil",it)
else -> it
}
}
Expand Down

0 comments on commit 4bed299

Please sign in to comment.