Different Meanings of 「ところ」
is at least colloquially a valid phrase meaning:
"(Someone) was caught at an awkward moment."
In this expression, 「ところ」 means a "scene" or "moment" where an action takes place.
「～～を見つかる」 is not a structure you would use in formal speech, but that can be said about a million other words and phrases.
however, means a completely different thing. It means:
"A bad / malfunctioning part was found."
「ところ」 means a "part" in this sentence. It may refer to a part of one's body or an object such as a car, TV, PC, etc.. This sentence implies that an examination has been conducted that lead to the finding of the malfunctioning part.