The last performance I gave I repeated 8 bars of a Mozart sonata because I couldn't remember what came next - and had to think quickly and do something. Fortunately after 8 bars I remembered where to go next. No-one noticed! Then - still rattled by that mistake - in the next item, a Chopin etude - I went atrociously wrong, stopped and had to start again. And someone said they enjoyed it more than if I'd just rattled it off correctly first time round - as it added to the excitement!
The time before that - in a student recital - I hit lots of wrong notes in a Beethoven sonata, and got comments like "That was beautiful", and "I wish I could play like that".
Remember the Beach Boys song "Barbara-Ann" where they go completely off-key at one point - but overall it was still the best take - so it stayed on the LP for posterity?
Artur Rubinstein was notorious for hitting wrong notes. Someone said they'd rather hear Rubinstein's wrong notes than Michelangeli's correct ones. In the more distant past Cortot famously played lots of wrong notes, but was revered as the greatest Chopin player ever. And the great Anton Rubinstein was - according to contemporary reports - also not note-perfect (this was blamed on his very broad fingers) but was forgiven because he created such a diversity of beautiful tone colours.
Stop worrying. There is more to playing well than hitting all the right notes. (Fortunately!!)