to detect (no prep)
Verb + preposition (or no preposition)
The doctor detected the problem in time.
—Did they find the error? —Yes, we detected it in the last review.
The system detects any unauthorised access attempt.