Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/maven/kotlin.version-2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
throndi authored Jul 15, 2024
2 parents 2fd6e2c + 6a61d1b commit 349f4f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ open class RequestTimeFilter : Filter {
code: Int,
timer: StopWatch,
) {
if (HttpStatus.valueOf(code).isError) {
if (HttpStatus.valueOf(code).is5xxServerError) {
LOG.warn("{} - {} - ({}). Dette tok {}ms", request.method, request.requestURI, code, timer.totalTimeMillis)
} else {
if (!shouldNotFilter(request.requestURI)) {
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<kontrakter.version>3.0_20240514121145_5e689cc</kontrakter.version>
<kotest.version>5.9.0</kotest.version>
<kotest.version>5.9.1</kotest.version>
<kotlin.version>2.0.0</kotlin.version>
<mockk.version>1.13.10</mockk.version>
<nav.security.token.version>4.1.5</nav.security.token.version>
<wiremock.version>3.5.4</wiremock.version>
<wiremock.version>3.8.0</wiremock.version>
</properties>

<modules>
Expand Down Expand Up @@ -318,7 +318,7 @@
<dependency>
<groupId>com.pinterest.ktlint</groupId>
<artifactId>ktlint-cli</artifactId>
<version>1.2.1</version>
<version>1.3.1</version>
</dependency>
<!-- additional 3rd party ruleset(s) can be specified here -->
</dependencies>
Expand Down

0 comments on commit 349f4f4

Please sign in to comment.