[Webkit-unassigned] [Bug 143853] Web Inspector: Logging error objects should have a better UI
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 13 21:00:00 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=143853
Nikita Vasilyev <nvasilyev at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Web Inspector: Logging |Web Inspector: Logging
|error.stack should have a |error objects should have a
|better UI |better UI
--- Comment #5 from Nikita Vasilyev <nvasilyev at apple.com> ---
I think it is way more common to do console.log(error) than console.log(error.stack), so we should have a better UI for error objects, not just stack traces.
⺠TypeError: undefined is not an object (evaluating 'this.foo.bar') â [f] methodName â MyComponent.js:184:42
And expanded:
â¼ TypeError: undefined is not an object (evaluating 'this.foo.bar')
* [f] methodName â MyComponent.js:184:42
* [f] anotherMethodName â Foo.js:12:53
* [f] andAnotherOne â [native code]
console.dir(error) should still show the same object outline.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150714/fd6334f3/attachment.html>
More information about the webkit-unassigned
mailing list