From f8841a2924c694e834f1a75548a9bd7a5c50dcdd Mon Sep 17 00:00:00 2001 From: Luke Berndt Date: Thu, 22 Aug 2024 22:27:12 -0400 Subject: [PATCH] crash less? --- docker-compose.yml | 1 - frontend/src/Call/CallPlayer.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 798232d..e2681ba 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -63,7 +63,6 @@ services: image: "backend:${TAG}-${STAGE}" pid: "host" environment: - - OTEL_SERVICE_NAME="prod" - OTEL_EXPORTER_OTLP_PROTOCOL="http/protobuf" - OTEL_EXPORTER_OTLP_ENDPOINT="https://api.honeycomb.io:443" - OTEL_EXPORTER_OTLP_HEADERS="x-honeycomb-team=${HONEYCOMB_API_KEY}" diff --git a/frontend/src/Call/CallPlayer.js b/frontend/src/Call/CallPlayer.js index f4a108c..2da2997 100644 --- a/frontend/src/Call/CallPlayer.js +++ b/frontend/src/Call/CallPlayer.js @@ -168,7 +168,7 @@ useEffect(() => { }, [selectCallId]) useEffect(() => { - if (system.status && system.status.length > 0) { + if (system && system.status && system.status.length > 0) { setStatusVisible(true); } }, [system])