1. 에러 메세지 : UnhandledPromiseRejectionWarning This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2. 원인 : catch block을 안쓰고 throw error를 사용해서 발생 오류가 발생한 코드 export const home = async (req, res) => { const videos = await Video.find({}); throw Error("this is error"); }; 3. 해결 : try - catch 를 블럭을 사용해..