Debugging

This commit is contained in:
Lim Chee Aun 2022-12-20 13:24:56 +08:00
parent bbec6f2de9
commit 3921f8a6f9

View file

@ -554,6 +554,7 @@ function Compose({
// Alert all the reasons
results.forEach((result) => {
if (result.status === 'rejected') {
console.error(result);
alert(result.reason || `Attachment #${i} failed`);
}
});