curriculum/challenges/english/blocks/learn-how-to-talk-about-past-experiences/6705725e2814c91dd738e8f4.md
Read the following text and answer the question below.
This is James' email to his team.
To: Team
Subject: Bug fixed. Database credentials updated
Hey team,
I found the bug from yesterday. First, I checked the recent code changes but didn't see anything. Then, I looked at the error logs and realized the system wasn't connecting to the database properly. We hadn't updated the credentials after the last security patch. I fixed the credentials, and the app is now running smoothly!
Best regards,
James
What was the main cause of the bug James found?
The error logs were not updated.
The issue wasn't related to the logs.
The system wasn't connecting to the database properly.
The code changes introduced a new error.
The bug wasn't directly caused by the code changes.
The internet connection was unstable.
James doesn't mention this.
2
To find out the main cause of the bug, look for the part of the text that talks about the system's connection. Focus on the sentence that starts with Then, I....