diff --git a/server/src/services/segments.ts b/server/src/services/segments.ts index 671fa94..61aefb3 100644 --- a/server/src/services/segments.ts +++ b/server/src/services/segments.ts @@ -16,8 +16,8 @@ function getLabeledSegments(anomalyId: AnomalyId) { segment.labeled = false; } } - } catch (e) { - console.error(e.message); + } catch(e) { + segments = []; } return segments; }