Repository: promptfoo/promptfoo
Issue: Unable to see the detailed logs of an assessment.
Root cause: Validation Gap

**Describe the bug**

I have just conducted several Red Team evaluations using HTTP API calls with PromptFoo versions 0.115.0 and 0.115.1.

Everything is working well, but when I try to click on "View logs," I encounter the following error:

**Screenshots**


![Image](https://github.com/user-attachments/assets/e6d85139-afcc-4d08-9bab-3c1aa4b28c04)

![Image](https://github.com/user-attachments/assets/23f907a9-f9d0-4598-b597-27c35313b4a5)

raw logs : 

```=====================================================================================================================================================================================
⚠️ The current version of promptfoo 0.115.0 is lower than the latest available version 0.115.1.

Please run npx promptfoo@latest or npm install -g promptfoo@latest to update.
=====================================================================================================================================================================================

Server running at http://localhost:15500 and monitoring for new evals.
Open URL in browser? (y/N): NotFoundError: Not Found
    at createHttpError (/root/.nvm/versions/node/v23.10.0/lib/node_modules/promptfoo/node_modules/send/index.js:861:12)
    at SendStream.error (/root/.nvm/versions/node/v23.10.0/lib/node_modules/promptfoo/node_modules/send/index.js:168:31)
    at SendStream.pipe (/root/.nvm/versions/node/v23.10.0/lib/node_modules/promptfoo/node_modules/send/index.js:468:14)
    at sendfile (/root/.nvm/versions/node/v23.10.0/lib/node_modules/promptfoo/node_modules/express/lib/response.js:1000:8)
    at ServerResponse.sendFile (/root/.nvm/versions/node/v23.10.0/lib/node_modules/promptfoo/node_modules/express/lib/response.js:409:3)
    at /root/.nvm/versions/node/v23.10.0/lib/node_modules/promptfoo/dist/src/server/server.js:242:13
    at Layer.handleRequest (/root/.nvm/versions/node/v23.10.0/lib/node_modules/promptfoo/node_modules/router/lib/layer.js:152:17)
    at next (/root/.nvm/versions/node/v23.10.0/lib/node_modules/promptfoo/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/root/.nvm/versions/node/v23.10.0/lib/node_modules/promptfoo/node_modules/router/lib/route.js:117:3)
    at handle (/root/.nvm/versions/node/v23.10.0/lib/node_modules/promptfoo/node_modules/router/index.js:435:11)
NotFoundError: Not Found
    at createHttpError (/root/.nvm/versions/node/v23.10.0/lib/node_modules/promptfoo/node_modules/send/index.js:861:12)
    at SendStream.error (/root/.nvm/versions/node/v23.10.0/lib/node_modules/promptfoo/node_modules/send/index.js:168:31)
    at SendStream.pipe (/root/.nvm/versions/node/v23.10.0/lib/node_modules/promptfoo/node_modules/send/index.js:468:14)
    at sendfile (/root/.nvm/versions/node/v23.10.0/lib/node_modules/promptfoo/node_modules/express/lib/response.js:1000:8)
    at ServerResponse.sendFile (/root/.nvm/versions/node/v23.10.0/lib/node_modules/promptfoo/node_modules/express/lib/response.js:409:3)
    at /root/.nvm/versions/node/v23.10.0/lib/node_modules/promptfoo/dist/src/server/server.js:242:13
    at Layer.handleRequest (/root/.nvm/versions/node/v23.10.0/lib/node_modules/promptfoo/node_modules/router/lib/layer.js:152:17)
    at next (/root/.nvm/versions/node/v23.10.0/lib/node_modules/promptfoo/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/root/.nvm/versions/node/v23.10.0/lib/node_modules/promptfoo/node_modules/router/lib/route.js:117:3)
    at handle (/root/.nvm/versions/node/v23.10.0/lib/node_modules/promptfoo/node_modules/router/index.js:435:11)
```

**System information:**

```
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
```
Kernel : 
```
6.11.0-26-generic
```
If possible, please output the results of `promptfoo debug` and paste the output here.

- Promptfoo version:
  - 0.115.0
  - 0.115.1


Hi @archidote – Thanks for reporting! The fix is in `0.115.2`.  Can you give that a try and let me know if you run into any more issues?

Hï @will-holley, 

Everythings work fine now on  0.115.2 ! 

Thank's the team for the patch ! :)