Browse Source

Fix "No such file or directory" error on anomaly create #33

pull/1/head
rozetko 6 years ago
parent
commit
9549277fa7
  1. 4
      server/src/services/segments.ts

4
server/src/services/segments.ts

@ -16,8 +16,8 @@ function getLabeledSegments(anomalyId: AnomalyId) {
segment.labeled = false; segment.labeled = false;
} }
} }
} catch (e) { } catch(e) {
console.error(e.message); segments = [];
} }
return segments; return segments;
} }

Loading…
Cancel
Save