error reporting venues #146
-
This post is about number three - if you can veto it I will be just as happy as pursuing it. I had to get this out of my system.
Number three: If an html element has an error, maybe add an attribute x-see-log-1 where 1 means this is the first detected error. Then repeat the marker x-see-log-1 inside the log (to easily find it) and the log provides the full error report. A similar approach might be an attribute x-error with its value being the error message. The error pass would delete stale error attributes. Mutating the source html might be objectionable, I do not know. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Have you seen #140? We're adding a "warnings" tab to the devtools. I'm not keen on changing the user's HTML it's the kind of thing that can cause issues down the line (eg. if running an app with devtools enabled changes its behaviour) |
Beta Was this translation helpful? Give feedback.
Have you seen #140?
We're adding a "warnings" tab to the devtools.
I'm not keen on changing the user's HTML it's the kind of thing that can cause issues down the line (eg. if running an app with devtools enabled changes its behaviour)