Two bags (were they small packets?) is not going to ruin it much...may make you a little more peckish cos of the carbs, but if you drink some water now and brush your teeth it will postpone any more potential damage...
You've not failed and I don't think you need an a*se kicking...tomorrow is another day...to start anew...