Brought pork into synagogue

Help! I brought a packet of gelatin sweets into a synagogue. I'm feeling so guilty and foolish. I did not even remember they were in my bag. Does anyone have any advice or know how big a deal this is?