Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

fix: error is now handled in the login screen (#1120)

palash-signoz1926998e3c5e
diff --git a/frontend/src/pages/Login/index.tsx b/frontend/src/pages/Login/index.tsx
index 5a1adc4b99..b7b271b156 100644
--- a/frontend/src/pages/Login/index.tsx
+++ b/frontend/src/pages/Login/index.tsx
@@ -20,7 +20,10 @@ function Login(): JSX.Element {
enabled: !isLoggedIn,
});
- if (versionResult.status === 'error') {
+ if (
+ versionResult.status === 'error' ||
+ (versionResult.status === 'success' && versionResult?.data.statusCode !== 200)
+ ) {
return (
<Typography>
{versionResult.data?.error || t('something_went_wrong')}