aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/item/item.go2
1 files changed, 1 insertions, 1 deletions
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
}