얘는 도대체 exception 처리를 어떻게 하는게 좋은거야?
process.on('uncaunghtException') 도 있고
미들웨어를 통한 app.use(function(err,req,res,next)) 처리도 있는데..
여기서 처리할것들 말고, 비즈니스 로직에서 처리하는것들에
다 개별 try, catch 로 묶어야하나...? 그럼 또 콜백안에 들어가는 exception은...?
아 너무 헷갈린다 쉬밤...
nodejs 커뮤니티 추천졈...
동기적이벤트
someingFufction((err,doc)=>{if(err) console.log(err);return;})