Added extra logging to s3 read errors

This commit is contained in:
ThaumRystra
2024-11-03 17:18:43 +02:00
parent 8268ea85ce
commit c0a8f76035

View File

@@ -168,7 +168,7 @@ if (Meteor.settings.useS3) {
const fileColl = this;
s3.getObject(opts, function (error) {
if (error) {
console.error(error);
console.error('Error getting s3 object', opts, error);
if (!http.response.finished) {
http.response.end();
}