diff options
author | Ruben Pollan <meskio@sindominio.net> | 2018-09-18 16:05:46 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2018-09-18 17:01:48 +0200 |
commit | f1e820ba1664cc1d3f69e15d0356552fecaf6fcd (patch) | |
tree | 4709ce4f63631ef15fc7fb7213c1c591ea63aa16 | |
parent | 5d0509edcafb1d32d2fc2d0e76c703f7d7468896 (diff) |
[bug] println doesn't need string formating
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,7 +44,7 @@ func main() { logger, err := configureLogger() if err != nil { - log.Println("Can't configure logger: %v", err) + log.Println("Can't configure logger: ", err) } else { defer logger.Close() } |