编辑代码

Promise.resolve()
    .then(e => console.log(1))
    .then(e => die)
    .catch(e => console.log(2))
    .then(e => console.log(3))
    .then(e => console.log(4))
    .catch(e => console.log(5))