bigskysoftware / bigskysoftware/htmx
htmx:syntax:error log add element/attribute details
Open
- Dominant language
- JavaScript
- Stars
- 49.4k
- Forks
- 1.7k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 30
Description
Check this image, thoughts on improving the logging here so that it's possible to track where the error is generated? E.g. add element ID to the log
Managed to track this error down, but only after discussing it in Discord. Turns out an invalid `hx-trigger` can generate this error, and from that I could search through all the ones I had. However, without the `hx-trigger` hint this would have been very difficult to track down
Image shows the error when using the non minified CDN file (`https://cdn.jsdelivr.net/npm/htmx.org@2.0.8/dist/htmx.js"`), which afaict doesn't help more than the minified one.
Contributor guide
Assessment
This issue has not been assessed yet.