gorm fails on error

also adding debugs on action words