Skip to content

fix: handle a case when error has exotic shape and name is an object#767

Merged
shadowusr merged 2 commits into
masterfrom
users/shadowusr/INFRADUTY-30285
May 19, 2026
Merged

fix: handle a case when error has exotic shape and name is an object#767
shadowusr merged 2 commits into
masterfrom
users/shadowusr/INFRADUTY-30285

Conversation

@shadowusr

Copy link
Copy Markdown
Member

What's done?

Fixed an edge case when error has exotic shape (weird object was thrown by user). In old UI trying to render this object would crash the page, in new ui it was just "object [Object]".

This PR enhances both cases, stringifying error to json in the worst case.

@pkg-pr-new

pkg-pr-new Bot commented May 18, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/html-reporter@767

commit: 08df036

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2ac8638d85

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread lib/static/new-ui/components/ErrorInfo/index.tsx Outdated
@github-actions

github-actions Bot commented May 18, 2026

Copy link
Copy Markdown

✅ Component tests succeed

Report

@github-actions

github-actions Bot commented May 18, 2026

Copy link
Copy Markdown

✅ E2E tests succeed

Report

@shadowusr shadowusr merged commit dec7b25 into master May 19, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants