Added extra logging to s3 read errors
This commit is contained in:
@@ -168,7 +168,7 @@ if (Meteor.settings.useS3) {
|
|||||||
const fileColl = this;
|
const fileColl = this;
|
||||||
s3.getObject(opts, function (error) {
|
s3.getObject(opts, function (error) {
|
||||||
if (error) {
|
if (error) {
|
||||||
console.error(error);
|
console.error('Error getting s3 object', opts, error);
|
||||||
if (!http.response.finished) {
|
if (!http.response.finished) {
|
||||||
http.response.end();
|
http.response.end();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user