mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-12 08:47:40 -05:00
crash less?
This commit is contained in:
@@ -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}"
|
||||
|
||||
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user