Index: openacs-4/packages/proctoring-support/www/resources/proctored-page.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/proctoring-support/www/resources/Attic/proctored-page.js,v diff -u -N -r1.1.2.20 -r1.1.2.21 --- openacs-4/packages/proctoring-support/www/resources/proctored-page.js 26 Apr 2021 16:18:19 -0000 1.1.2.20 +++ openacs-4/packages/proctoring-support/www/resources/proctored-page.js 27 Apr 2021 10:30:39 -0000 1.1.2.21 @@ -154,27 +154,14 @@ // location.href = objectURL; } - } else if (this.status !== 400) { + } else { // - // Any other error situation that is not a response - // code of 400: we will retry uploading the same file - // in 10s + // Any other status is an error situation: we will + // retry uploading the same file in 10s // console.warn('Server responded with a ' + this.status + ' status code and we will reschedule the upload!'); uploadQueue.unshift(formData); reschedule(10000); - } else { - // - // Server returned a 400, which means invalid - // request. We are not supposed to resend the file - // with this kind of responses, as it is likely to be - // rejected again and block the queue indefinitely. - // - // TODO: do something e.g. eject the user from the - // proctored session. - // - console.error('We received a 400 and will not resend this file!'); - reschedule(10000); } }); //