Improve error handling for #21
Improve error handling for #21

danburkert/raft,frewsxcv/raft-rs,jamwt/raft,frewsxcv/raft-rs,placrosse/raft,Hoverbear/raft,tempbottle/raft-1,danburkert/raft,pwoolcoc/raft,tschottdorf/raft,achanda/raft,posix4e/raft,tschottdorf/raft,Hoverbear/raft