Given a log of user interactions with an AI feature at Amplify HR, write a script to identify the longest session without errors.