Skip to content

Commit

Permalink
#137 fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
vjohnslhm committed Sep 13, 2024
1 parent f61f68c commit 7512eff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public void postWahlen(final WahlenWriteModel wahlenWriteModel) {
wahlRepository.saveAll(wahlModelMapper.fromListOfWahlModeltoListOfWahlEntities(wahlenWriteModel.wahlen()));
} catch (Exception e) {
log.error("#postWahlen: Die Wahlen konnten aufgrund eines Fehlers nicht gespeichert werden:", e);
throw exceptionFactory.createFachlicheWlsException(ExceptionConstants.POSTWAHLEN_UNSAVEABLE);
throw exceptionFactory.createTechnischeWlsException(ExceptionConstants.POSTWAHLEN_UNSAVEABLE);
}
}

Expand Down

0 comments on commit 7512eff

Please sign in to comment.