Skip to content

Commit

Permalink
Refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
MalazAlkoj committed Jun 26, 2024
1 parent 23ec8ba commit 5c69686
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ class VirksomhetController(
} catch (e: IllegalArgumentException) {
LOG.warn("${e.message}, Invalid virksomhetsnummer: $virksomhetsnummer")
ResponseEntity.status(HttpStatus.BAD_REQUEST).build()
} catch (e: Exception) {
LOG.error("Failed to get virksomhet with virksomhetsnummer: $virksomhetsnummer", e)
ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).build()
}
}

Expand Down

0 comments on commit 5c69686

Please sign in to comment.