fixed unhandled panic and wrapped all internal goroutines

This commit is contained in:
Gani Georgiev
2026-07-15 13:41:10 +03:00
parent a6deb6ab90
commit 30b4184305
11 changed files with 76 additions and 22 deletions
+2 -2
View File
@@ -1278,7 +1278,7 @@ func (app *BaseApp) initLogger() error {
},
})
go func() {
routine.FireAndForget(func() {
ctx := context.Background()
for {
@@ -1289,7 +1289,7 @@ func (app *BaseApp) initLogger() error {
handler.WriteAll(ctx)
}
}
}()
})
app.logger = slog.New(handler)