비동기(Promise then) 사용시 try..catch..와 혼용하지 말것
https://stackoverflow.com/questions/24977516/catching-errors-in-javascript-promises-with-a-first-level-try-catch Catching Errors in JavaScript Promises with a First Level try ... catch So, I want my first level catch to be the one that handles the error. Is there anyway to propagate my error up to that first catch? Reference code, not working (yet): Promise = require('./framework/ stackoverflow...
Javascript
2020. 5. 6. 00:29