robert
06/10/2022, 6:56 PMtry-catch
?
process.on("uncaughtException", (err) => {
console.error(err);
});
client
.collections("docs")
.documents()
.import(documentsToIndex, { action: "upsert" });
Jason Bosco
06/10/2022, 6:57 PMawait
in front of it to be able to use try catchrobert
06/10/2022, 6:57 PMJason Bosco
06/10/2022, 6:58 PMrobert
06/10/2022, 6:58 PMJason Bosco
06/10/2022, 6:59 PMRobert Lee
08/29/2023, 1:50 PM