add errors to db connections tutorial