Skip to content

[OGUI-1959] Fix error handling in development mode to include error stack and message - #3746

Open
isaachilly wants to merge 3 commits into
devfrom
bug/FRM/OGUI-1959/message-and-stack-in-dev-mode-500-error
Open

isaachilly wants to merge 3 commits into
devfrom
bug/FRM/OGUI-1959/message-and-stack-in-dev-mode-500-error

Conversation

@isaachilly

@isaachilly isaachilly commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

I have JIRA issue created

  • branch and/or PR name(s) includes JIRA ID
  • issue has "Fix version" assigned
  • issue "Status" is set to "In review"
  • PR labels are selected
  • FLP integration tests were ran successful

Ticket:

I have seen before enumerable properties lost so this caught my eye.
Ensure that error responses in dev mode return full error details but not in prod.

Code:

  • Added a serializeError function to ensure response include the name, message, stack rather than returning the raw error object which can leave out this data.

Reviewer:

@isaachilly
isaachilly requested a review from graduta as a code owner November 20, 2026 14:58
@isaachilly
isaachilly added this pull request to stack #3747 November 20, 2026 14:58
@isaachilly isaachilly self-assigned this Nov 20, 2026
@isaachilly
isaachilly force-pushed the bug/FRM/OGUI-1959/message-and-stack-in-dev-mode-500-error branch from 95f079e to 5207277 Compare November 23, 2026 15:31
@isaachilly
isaachilly force-pushed the feature/Houwie7000/OGUI-1586/docker-compose-ILG branch from 6a580c3 to d6c1b6d Compare November 25, 2026 12:59
@isaachilly
isaachilly force-pushed the bug/FRM/OGUI-1959/message-and-stack-in-dev-mode-500-error branch from 5207277 to 7394956 Compare November 25, 2026 12:59
@isaachilly
isaachilly removed this pull request from stack #3747 November 25, 2026 13:38
@isaachilly
isaachilly added this pull request to stack #3763 November 25, 2026 13:40
@isaachilly
isaachilly force-pushed the feature/Houwie7000/OGUI-1586/docker-compose-ILG branch from d6c1b6d to 2db80ca Compare November 25, 2026 16:48
@isaachilly
isaachilly force-pushed the bug/FRM/OGUI-1959/message-and-stack-in-dev-mode-500-error branch from 7394956 to 4d82401 Compare November 25, 2026 16:48
@isaachilly
isaachilly removed this pull request from stack #3763 November 26, 2026 16:38
@isaachilly
isaachilly added this pull request to stack #3764 November 26, 2026 16:38
@isaachilly
isaachilly removed this pull request from stack #3764 November 26, 2026 17:55
@isaachilly
isaachilly changed the base branch from feature/Houwie7000/OGUI-1586/docker-compose-ILG to dev November 26, 2026 17:55
@isaachilly
isaachilly force-pushed the bug/FRM/OGUI-1959/message-and-stack-in-dev-mode-500-error branch from 4d82401 to 8cf97ea Compare November 26, 2026 17:58

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant