Back to Freecodecamp

Task 45

curriculum/challenges/english/blocks/learn-how-to-talk-about-past-experiences/6705725e2814c91dd738e8f4.md

latest1.2 KB
Original Source
<!-- READING -->

--instructions--

Read the following text and answer the question below.

--questions--

--text--

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?

--answers--

The error logs were not updated.

--feedback--

The issue wasn't related to the logs.


The system wasn't connecting to the database properly.


The code changes introduced a new error.

--feedback--

The bug wasn't directly caused by the code changes.


The internet connection was unstable.

--feedback--

James doesn't mention this.

--video-solution--

2

--explanation--

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....