nodejs unhandledPromiseRejectionWarning警告信息
Nodejs 信息 警告
2023-09-14 09:03:57 时间
警告信息:unhandledPromiseRejectionWarning
solution是加上这段catch处理:
getToken().then(createContact).catch((error) =>{
console.log("error: " + error.message);
});