Showing
1 changed file
with
6 additions
and
0 deletions
... | @@ -68,6 +68,12 @@ module.exports = { | ... | @@ -68,6 +68,12 @@ module.exports = { |
68 | } | 68 | } |
69 | }; | 69 | }; |
70 | 70 | ||
71 | + if (result.analysis.default.stats.major.pure == null) { | ||
72 | + // 데이터를 받아오지 못해 분석 실패 | ||
73 | + res.status(502).send(); | ||
74 | + return; | ||
75 | + } | ||
76 | + | ||
71 | console.log(JSON.stringify(result)); | 77 | console.log(JSON.stringify(result)); |
72 | res.send(result); | 78 | res.send(result); |
73 | } | 79 | } | ... | ... |
-
Please register or login to post a comment