crash less?

This commit is contained in:
Luke Berndt
2024-08-22 22:27:12 -04:00
parent 1fc14d74a3
commit f8841a2924
2 changed files with 1 additions and 2 deletions

View File

@@ -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}"

View File

@@ -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])