Nodejs ile ele alinmamis promise.rejectleri yakamalar
typescript, programming

process.on('unhandledRejection', (reason, promise) => {
console.log('Unhandled Rejection at:', promise, 'reason:', reason);
// Application specific logging, throwing an error, or other logic here
});
new Promise((resolve, reject) => {
reject(new Error('Test Error'));
});
Previousngrok ile raspberrypi sunucusunu SSH üzerinden erişime açmakNextNotion Integration olusturmak; database ve sayfalari yonetmek
Last updated
Was this helpful?