feat:#150 updated log messages

This commit is contained in:
Elmar Kresse
2024-01-23 19:07:12 +01:00
parent 0198e74652
commit 8a47c1bc21
2 changed files with 10 additions and 9 deletions

View File

@@ -5,7 +5,7 @@ import (
"github.com/pocketbase/pocketbase/plugins/migratecmd"
_ "htwkalender/migrations"
"htwkalender/service"
"log"
"log/slog"
"os"
"strings"
)
@@ -27,6 +27,6 @@ func main() {
service.AddSchedules(app)
if err := app.Start(); err != nil {
log.Fatal(err)
slog.Error("Failed to start app: %v", err)
}
}