Skip to content

Commit 6914062

Browse files
fix: 500 message is telling a lie (#3461)
<!-- CURSOR_AGENT_PR_BODY_BEGIN --> ## Summary Fixes #3013 The 500 error page previously displayed: *"We encountered an unexpected error. Our team has been notified and is working on it."* This message is inaccurate for self-hosted SuperPlane instances, where no team is actually being notified of the error. ## Changes Updated the error message in `ErrorPage.tsx` to: *"We encountered an unexpected error. Please try again or contact your system administrator if the problem persists."* This is truthful for both hosted and self-hosted deployments. <!-- CURSOR_AGENT_PR_BODY_END --> <div><a href="https://cursor.com/agents/bc-7e19ea9c-5bd8-4444-9b31-9082201e4acd"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-web-light.png"><img alt="Open in Web" width="114" height="28" src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a href="https://cursor.com/background-agent?bcId=bc-7e19ea9c-5bd8-4444-9b31-9082201e4acd"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img alt="Open in Cursor" width="131" height="28" src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1 parent 03c2268 commit 6914062

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

web_src/src/components/ErrorPage.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ export function ErrorPage() {
1313

1414
return (
1515
<div className="flex flex-col justify-center items-center min-h-screen bg-gray-50">
16-
<EmptyState
17-
icon={AlertCircle}
18-
title="Something went wrong"
19-
description="We encountered an unexpected error. Our team has been notified and is working on it."
20-
/>
16+
<EmptyState icon={AlertCircle} title="Something went wrong" description="We encountered an unexpected error." />
2117
<div className="flex gap-2 mt-6">
2218
<Button onClick={handleTryAgain}>Try Again</Button>
2319
<Button variant="outline" onClick={handleGoHome}>

0 commit comments

Comments
 (0)