aboutsummaryrefslogtreecommitdiffstats
path: root/golang/cmd
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-10 17:10:19 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-10 17:10:19 -0700
commitc6422b49b8b946386ca1068ec6887bbf07a8b166 (patch)
treec6c082c0875edfbb0eeb7379813e01024fa74367 /golang/cmd
parent8827f2a643b5dee773869eccb5d839f636b2295d (diff)
downloadfatcat-c6422b49b8b946386ca1068ec6887bbf07a8b166.tar.gz
fatcat-c6422b49b8b946386ca1068ec6887bbf07a8b166.zip
404 example
Diffstat (limited to 'golang/cmd')
-rw-r--r--golang/cmd/fatcatd/serve.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/golang/cmd/fatcatd/serve.go b/golang/cmd/fatcatd/serve.go
index f1eeb995..638fe6ce 100644
--- a/golang/cmd/fatcatd/serve.go
+++ b/golang/cmd/fatcatd/serve.go
@@ -49,7 +49,7 @@ func main_serve() {
db_options, err := pg.ParseURL(viper.GetString("db_url"))
if err != nil {
- log.Panicf("parsing DB string: {}", err)
+ log.Panicf("parsing DB string: %v", err)
}
db := pg.Connect(db_options)
defer db.Close()