Fix [Object object] in script error display (#35476)

<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #35432 

# Checklist for submitter

## Testing

- [ ] Added/updated automated tests
- [X] QA'd all new/changed functionality manually

For unreleased bug fixes in a release candidate, one of:

- [X] Confirmed that the fix is not expected to adversely impact load
test results
This commit is contained in:
Scott Gress 2025-11-11 08:41:30 -06:00 committed by GitHub
parent 86b80e28ed
commit 22fee0c4cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,7 +54,7 @@ const StatusMessageError = ({ message }: { message: React.ReactNode }) => (
<IconStatusMessage
className={`${baseClass}__status-message`}
iconName="error-outline"
message={`Error: ${message}`}
message={<>Error: {message}</>}
/>
);