Skip to content

DE: FEAT: Propagate error messages to the backend - #30

Merged
mberz merged 2 commits into
developfrom
de/feat/surface_error_messages
Aug 20, 2026
Merged

DE: FEAT: Propagate error messages to the backend#30
mberz merged 2 commits into
developfrom
de/feat/surface_error_messages

Conversation

@mberz

@mberz mberz commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

@mberz mberz added the enhancement New feature or request label Aug 20, 2026
@mberz
mberz requested a lite review from Copilot August 20, 2026 16:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the DE method container CLI so that exceptions are captured and written into the result JSON returned to the backend, enabling backend-side error propagation (per the referenced backend PR).

Changes:

  • Wrap DE simulation execution in a try/except to write an error object into the result JSON on failure.
  • Exit the container with a non-zero status code when an error occurs.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread de_method/de_interface/__cli__.py Outdated
Comment thread de_method/de_interface/__cli__.py
@mberz
mberz merged commit 386349b into develop Aug 20, 2026
15 checks passed
@mberz
mberz deleted the de/feat/surface_error_messages branch August 20, 2026 17:22
@github-project-automation github-project-automation Bot moved this from Backlog to Done in CHORAS planning Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants