fix: when decrypting file, have better error messages #17

Merged
b merged 11 commits from issue-11 into main 2024-05-14 15:09:01 +00:00
Showing only changes of commit 2c2eeba83f - Show all commits

View File

@ -88,7 +88,7 @@ export const sendDM = async (
const timeoutPromise = new Promise<never>((_, reject) => {
setTimeout(() => {
reject(new Error('Timeout occurred'))
}, 15000) // Timeout duration = 15 seconds
}, 60000) // Timeout duration = 60 seconds
})
// Encrypt the DM content, with timeout