Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Commit 6e29210

Browse files
authored
Merge pull request #1315 from daslyfe/jade/readableerror
enhancement: make error messages easier to read
2 parents e81345c + dc8e5d5 commit 6e29210

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

website/src/repl/components/UserFacingErrorMessage.jsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,9 @@ export default function UserFacingErrorMessage(Props) {
44
if (error == null) {
55
return;
66
}
7-
return <div className="text-red-500 p-4 bg-lineHighlight animate-pulse">{error.message || 'Unknown Error :-/'}</div>;
7+
return (
8+
<div className="text-background px-2 py-1 bg-foreground w-full ml-auto">
9+
Error: {error.message || 'Unknown Error :-/'}
10+
</div>
11+
);
812
}

0 commit comments

Comments
 (0)