refact (vote) Report error before accessing error contents
refact (vote) Report error before accessing error contents

ayystudentunion/voting-frontend,ayystudentunion/voting-frontend,ayystudentunion/voting-frontend,ayystudentunion/voting-frontend