From d6a970af48bd691d8b1d8e1b4f4111388d5f9ef6 Mon Sep 17 00:00:00 2001 From: Pavel Korotkov Date: Tue, 7 Jul 2020 10:06:17 +0300 Subject: [PATCH] Add a log line --- app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.go b/app.go index 58d59c89..616f3397 100644 --- a/app.go +++ b/app.go @@ -103,8 +103,8 @@ func newApp(l *zap.Logger, v *viper.Viper) *App { } func (a *App) Wait(ctx context.Context) { + defer a.log.Info("application finished") a.log.Info("application started") - select { case <-a.wrkDone: // wait for worker is stopped <-a.webDone