summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2018-09-18 16:05:46 +0200
committerRuben Pollan <meskio@sindominio.net>2018-09-18 17:01:48 +0200
commitf1e820ba1664cc1d3f69e15d0356552fecaf6fcd (patch)
tree4709ce4f63631ef15fc7fb7213c1c591ea63aa16
parent5d0509edcafb1d32d2fc2d0e76c703f7d7468896 (diff)
[bug] println doesn't need string formating
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 7ce0ba3..1b824d6 100644
--- a/main.go
+++ b/main.go
@@ -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()
}