Skip to content

Commit

Permalink
Fix "No such file or directory" error on anomaly create #33
Browse files Browse the repository at this point in the history
  • Loading branch information
rozetko committed Jun 28, 2018
1 parent 29d769d commit 9549277
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/services/segments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ function getLabeledSegments(anomalyId: AnomalyId) {
segment.labeled = false;
}
}
} catch (e) {
console.error(e.message);
} catch(e) {
segments = [];
}
return segments;
}
Expand Down

0 comments on commit 9549277

Please sign in to comment.