passing error message when saving vote fails