catch (error => console.log(error));. This will always work except in the case below. Mistake #2: Using async function inside your Promise block.
確定! 回上一頁