better print errors that come up during db insertion
remember to raise valueeerror