From e9f84c8a3d399789fc49ce0ee50ba257261b9e80 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Mon, 30 Apr 2018 11:41:42 -0700 Subject: set limit to number of simultaneous crawl jobs --- models/item/item.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models') diff --git a/models/item/item.go b/models/item/item.go index 52d3d37..dd8b52c 100644 --- a/models/item/item.go +++ b/models/item/item.go @@ -45,7 +45,7 @@ func (i *Item) Create() error { item(title, url, description, publish_date, feed_id) VALUES(?, ?, ?, ?, ?)`, i.Title, i.Url, i.Description, i.PublishDate, i.FeedId) if err != nil { - vlog.Printf("Error on item.Create\n%v\n%v\n", i, err) + vlog.Printf("Error on item.Create\n%v\n%v\n", i.Url, err) return err } -- cgit v1.2.3