return error to callback if problem in db.init()