Yes, you should. Hiding it from your boyfriend makes it look like you are considering the other guy. If you're not, let your boyfriend know but also include that you told the guy you're happily in a relationship. It's better safe than sorry; it's too delicate a subject to be swept under the carpet. If he finds out himself that someone asked you out and you hid it, it might cause a little problem.