Reapply "use event.message when no event.error in HMR during event" (#25360)

This reverts commit b4c8379447.

### What does this PR do?

### How did you verify your code works?

---------

Co-authored-by: Claude Bot <claude-bot@bun.sh>
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Alistair Smith
2025-12-05 17:38:56 -08:00
committed by GitHub
parent 23383b32b0
commit 05508a627d
14 changed files with 309 additions and 294 deletions

View File

@@ -615,7 +615,6 @@ const NativeStackFrame = ({
<div
title={StackFrameScope[scope]}
className="BunError-StackFrame-identifier"
// @ts-expect-error Custom CSS variables are not known by TypeScript
style={{ "--max-length": `${maxLength}ch` }}
>
{getNativeStackFrameIdentifier(frame)}