Skip to content

Commit 00a166b

Browse files
copy error message, update links in footer (#1013)
* copy error message, update links in footer * Update frontend/components/traces/error-card.tsx Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com> * make policy urls relative --------- Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
1 parent 6092cd5 commit 00a166b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

frontend/components/landing/footer.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ export default function Footer() {
1717
>
1818
Join Discord
1919
</a>
20-
<a target="_blank" href="https://docs.lmnr.ai/policies/privacy-policy">
20+
<a target="_blank" href="/policies/privacy">
2121
Privacy policy
2222
</a>
2323
<a
2424
target="_blank"
25-
href="https://docs.lmnr.ai/policies/terms-of-service"
25+
href="/policies/terms"
2626
>
2727
Terms of service
2828
</a>
29-
<a target="_blank" href="https://status.lmnr.ai">
29+
<a target="_blank" href="https://status.laminar.sh">
3030
Status
3131
</a>
3232
</div>

frontend/components/traces/error-card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const ErrorCard = ({ attributes }: ErrorCardProps) => {
4242
iconClassName="h-3 w-3 text-muted-foreground"
4343
size="icon"
4444
variant="ghost"
45-
text={JSON.stringify(attributes)}
45+
text={`${errorType || "Exception"}: ${errorMessage || "No message"}\n\n${errorTrace || "No stacktrace"}`}
4646
/>
4747
<Button className="w-8 h-8" size="icon" variant="ghost">
4848
<ChevronRight className="w-3 h-3 text-muted-foreground group-data-[state=open]:rotate-90 transition-transform duration-200" />

0 commit comments

Comments
 (0)