Skip to content

LLM failures silently return empty results without user feedback #163

@sm-28601

Description

@sm-28601

LLM failures are silently ignored in scan results

📌 Description

When LLM-based analysis (summary, impact, privacy) fails, the system catches exceptions and returns None values without informing the user.

The scan appears successful, but important sections are empty.


📷 Proof

📄 Code Reference

Image Image Image

Example:

  • File: workflow/nodes.py
  • Exceptions are caught and values set to None

❗ Problem

  • Users see empty sections with no explanation
  • Misleading: scan appears successful
  • Poor user experience

✅ Expected Behavior

  • Show warning like:
    "Summary unavailable — LLM service temporarily failed"

💡 Suggested Fix

Add a warnings or partial_failures field in API response and display it in frontend.

Metadata

Metadata

Labels

backendbugBug report or bug fix related workhelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions