Exception rework: clearer message + origin
Co-authored-by: [Mahgs] <maxoerter@gmx.de> Co-authored-by: Christoph <tobi@urpost.de>
This commit is contained in:
@ -66,9 +66,11 @@ public class EventService {
|
||||
*/
|
||||
public Long checkGroup() {
|
||||
Long maxGroupID = eventStore.getMaxGroupID();
|
||||
|
||||
if (maxGroupID == null) {
|
||||
return 1L;
|
||||
}
|
||||
|
||||
return maxGroupID + 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user