Update beer.ino

update error handling