---
id: 6705742b9616e01e275e5c08
title: Task 46
challengeType: 19
dashedName: task-46
lang: en-US
---

<!-- 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`

How did James fix the problem?

## --answers--

He reviewed the error logs again.

### --feedback--

Reviewing the logs helped James find the issue but didn't directly fix it.

---

He updated the credentials.

---

He made changes to the code.

### --feedback--

The issue wasn't fixed by changing the code, but by updating the credentials.

---

He restarted the app.

### --feedback--

Restarting the app wasn't mentioned as part of the solution.

## --video-solution--

2

# --explanation--

To find out how James fixed the problem, look for the part of the text that talks about updating the credentials. Focus on the sentence that starts with `We hadn't...`.
