From ae99121af6c44840313e0b6a5a87e21eb2c76fd8 Mon Sep 17 00:00:00 2001 From: Izan Gil <66965250+SrIzan10@users.noreply.github.com> Date: Thu, 4 Sep 2025 23:20:37 +0200 Subject: [PATCH] fix: sentry errors not being verbose enough --- apps/web/sentry.server.config.ts | 5 +++++ dev/nginx.conf | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/apps/web/sentry.server.config.ts b/apps/web/sentry.server.config.ts index 871079f..7526b3e 100644 --- a/apps/web/sentry.server.config.ts +++ b/apps/web/sentry.server.config.ts @@ -15,4 +15,9 @@ Sentry.init({ // Setting this option to true will print useful information to the console while you're setting up Sentry. debug: false, + + integrations: [ + Sentry.extraErrorDataIntegration(), + Sentry.captureConsoleIntegration(), + ], }); diff --git a/dev/nginx.conf b/dev/nginx.conf index 7dbeaa2..ff28157 100644 --- a/dev/nginx.conf +++ b/dev/nginx.conf @@ -28,8 +28,8 @@ rtmp { hls on; hls_type live; hls_path /dev/shm/hls; - hls_fragment 1s; - hls_playlist_length 3s; + hls_fragment 2s; + hls_playlist_length 10s; hls_cleanup on; hls_fragment_naming timestamp;