Nicer notification manager initialization

This commit is contained in:
Magnus Åhall 2024-05-05 10:12:21 +02:00
parent 49af9dc33c
commit 5f6a48e7e0
2 changed files with 7 additions and 8 deletions

View file

@ -100,7 +100,7 @@ func main() { // {{{
return
}
err = InitNotificationManager()
notificationManager, err = InitNotificationManager()
if err != nil {
err = werr.Wrap(err).Log()
logger.Error("notification", "error", err)