Skip to content

Commit bd48b7d

Browse files
authored
Don't use %w formatting with log.Fatal (#35)
1 parent 35f8b0d commit bd48b7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/scaffold/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ func main() {
5555
5656
app, err := service.New(service.Parameters{ApplicationStartInfo: info, Factories: factories})
5757
if err != nil {
58-
log.Fatal("failed to construct the application: %w", err)
58+
log.Fatalf("failed to construct the application: %v", err)
5959
}
6060
6161
err = app.Run()
6262
if err != nil {
63-
log.Fatal("application run finished with error: %w", err)
63+
log.Fatalf("application run finished with error: %v", err)
6464
}
6565
}
6666
`

0 commit comments

Comments
 (0)