Repository navigation
fix(examples/lit/basic): show the error message instead of the stringified error - #12186
Conversation
|
|
View your CI Pipeline Execution ↗ for commit e4c7f38
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
size-limit report 📦
|
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
📒 Files selected for processing: 3
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🎯 Changes
The lit basic example rendered query and mutation errors with
String(error), which prefixes the message withError:(inbasic-query.tsthis showedError: Error: ...). Rendererror.messageinside the existing error branches instead, like the lit SSR example.catchblocks that receiveunknownkeepString(error).✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact