Overworked error handling in DB