error reporting venues #146
Closed
markfirmware
announced in
Remnant
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.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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.
1a. a view in an external tool, such as a warnings tab in devtools
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.
All reactions