This commit is contained in:
James Cole
2019-10-20 16:17:43 +02:00
parent 0135ae425f
commit 516ef79130
6 changed files with 42 additions and 2 deletions

View File

@@ -736,7 +736,13 @@
// console.log('Upload complete!');
return true;
}).catch(error => {
// console.error('Could not upload');
console.error('Could not upload file.');
console.error(error);
uploads++;
this.error_message = 'Could not upload attachment: ' + error;
if (uploads === count) {
this.redirectUser(groupId);
}
// console.error(error);
return false;
});