Hello,
I've been wondering the same thing, if japanese people will become offended if we can't speak there language correctly. I think in all cultures it depends on the person, but recently in the past 2-3 months, I found a few Youtube channels, of these people called Jvloggers (So Video Blogs in Japan) Where there are Foreigners in Japan. They are often in Situations where sometimes they make mistakes or misprounouce things, or have a funny accent. Sometimes a Japanese person will get offended, sometimes a japanese person will stare, sometimes they will pretend nothing happened at all.
Seeing as I'm not Japanese, I'm not sure if this helps answer your question but I'll give you the names of some good youtube users on youtube if you want to check them out. They have some good videos about Japan. And Foreigner and Japanese interaction, some of it is funny, some of it is culture shock but I find it really informative, and it might just help answer your question, they do some language videos every now and again too.
Rachel & Jun
Abroadin Japan
emilylouisemaitland エミリーちゃん ♡
kanadajin3
Sharla in Japan
Texan in Tokyo
I hope this helps (if your wondering, there is many many more channels like this on youtube)