log notification send fail reason in db for easier debugging

This commit is contained in:
2026-01-14 15:34:29 +01:00
parent 41f04620ba
commit ddbf925caf
2 changed files with 4 additions and 2 deletions
@@ -50,6 +50,9 @@ public class Notification {
@Column(nullable = false)
private int failedSendAttempts = 0;
@Column
private String lastFailureReason;
@Column(nullable = false)
private LocalDateTime createdAt;