As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
AFTER TAKEOFF DURING FLAP RETRACTION FLAPS 5 DEGREES - 2 DEGREES AMBER LIGHT ILLUMINATED AND STAYED ILLUMINATED. THE CREW RETURNED THE AIRCRAFT TO POINT OF ORIGIN (DTW). MAINTENANCE CHECKED ALL LEADING EDGE MECHANISMS AND RETURNED THE AIRCRAFT TO SERVICE.