Skip to content

Commit 04faf06

Browse files
committed
Do not show empty source information on dashboard listing.
1 parent ed69910 commit 04faf06

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/error_tracker/web/live/dashboard.html.heex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,10 @@
6969
<p class="whitespace-nowrap text-ellipsis w-full overflow-hidden">
7070
(<%= sanitize_module(error.kind) %>) <%= error.reason %>
7171
</p>
72-
<p class="font-normal text-gray-400">
72+
<p :if={error.source_function != "-"} class="font-normal text-gray-400">
7373
<%= sanitize_module(error.source_function) %>
74-
<br />
74+
</p>
75+
<p :if={error.source_function != "-"} class="font-normal text-gray-400">
7576
<%= error.source_line %>
7677
</p>
7778
</td>

0 commit comments

Comments
 (0)