Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update studio/components/interfaces/Settings/Logs/Logs.utils.ts

Ziincb4850b767d03
diff --git a/studio/components/interfaces/Settings/Logs/Logs.utils.ts b/studio/components/interfaces/Settings/Logs/Logs.utils.ts
index db2a0b48642..3a0b9b8e53b 100644
--- a/studio/components/interfaces/Settings/Logs/Logs.utils.ts
+++ b/studio/components/interfaces/Settings/Logs/Logs.utils.ts
@@ -397,6 +397,7 @@ export const fillTimeseries = (
})
const diff = maxDate.diff(minDate, truncation as dayjs.UnitType)
+ // Intentional throwing of error here to be caught by Sentry, as this would indicate a bug since charts shouldn't be rendering more than 10k data points
if (diff > 10000) {
throw new Error(
'Data error, filling timeseries dynamically with more than 10k data points degrades performance.'