From bd48b7d2adf390f91f35a39ebaca098d677cfa65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Ma=C5=82ek?= <69143962+pmalek-sumo@users.noreply.github.com> Date: Thu, 15 Apr 2021 13:08:12 +0200 Subject: [PATCH] Don't use %w formatting with log.Fatal (#35) --- internal/scaffold/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/scaffold/main.go b/internal/scaffold/main.go index 5adb0d58b2bf..10a180f587de 100644 --- a/internal/scaffold/main.go +++ b/internal/scaffold/main.go @@ -55,12 +55,12 @@ func main() { app, err := service.New(service.Parameters{ApplicationStartInfo: info, Factories: factories}) if err != nil { - log.Fatal("failed to construct the application: %w", err) + log.Fatalf("failed to construct the application: %v", err) } err = app.Run() if err != nil { - log.Fatal("application run finished with error: %w", err) + log.Fatalf("application run finished with error: %v", err) } } `