<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:nvasilyev@apple.com" title="Nikita Vasilyev <nvasilyev@apple.com>"> <span class="fn">Nikita Vasilyev</span></a>
</span> changed
<a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Web Inspector: Logging error objects should have a better UI"
href="https://bugs.webkit.org/show_bug.cgi?id=143853">bug 143853</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>UNCONFIRMED
</td>
<td>ASSIGNED
</td>
</tr>
<tr>
<td style="text-align:right;">Assignee</td>
<td>webkit-unassigned@lists.webkit.org
</td>
<td>nvasilyev@apple.com
</td>
</tr>
<tr>
<td style="text-align:right;">Ever confirmed</td>
<td>
</td>
<td>1
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Web Inspector: Logging error objects should have a better UI"
href="https://bugs.webkit.org/show_bug.cgi?id=143853#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Web Inspector: Logging error objects should have a better UI"
href="https://bugs.webkit.org/show_bug.cgi?id=143853">bug 143853</a>
from <span class="vcard"><a class="email" href="mailto:nvasilyev@apple.com" title="Nikita Vasilyev <nvasilyev@apple.com>"> <span class="fn">Nikita Vasilyev</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=257043" name="attach_257043" title="[Image] Current Web Inspector/Chrome DevTools/Proposed UI">attachment 257043</a> <a href="attachment.cgi?id=257043&action=edit" title="[Image] Current Web Inspector/Chrome DevTools/Proposed UI">[details]</a></span>
[Image] Current Web Inspector/Chrome DevTools/Proposed UI
Currently, a logged error object looks like any other object, which isn't very useful. Source links can'b be clicked. Stack trace is unreadable.
The following code
try {
i.dont.exist++
} catch(error) {
console.log(error);
}
should produce a console message very similar to an uncaught error:
i.dont.exist++
We should try to unify the two.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>