Skip to content

Commit

Permalink
Use RuntimeException
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvind-wedoe committed Nov 25, 2024
1 parent 5bb3c03 commit 5060c7d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2049,7 +2049,7 @@ class DokumentUnderArbeidService(
)

if (svarbrevSettings == null) {
throw Exception("Fant ikke svarbrevinnstillinger for ytelse ${behandling.ytelse} og type ${behandling.type}")
throw RuntimeException("Fant ikke svarbrevinnstillinger for ytelse ${behandling.ytelse} og type ${behandling.type}")
}

if (svarbrevSettings.shouldSend) {
Expand Down

0 comments on commit 5060c7d

Please sign in to comment.