Merge pull request #170 from amark/develop

Develop
This commit is contained in:
Mark Nadal
2016-02-15 14:22:26 -08:00

View File

@@ -18,6 +18,7 @@
opt.ctx.load = opt.ctx.load || {};
key = s3.prefix + s3.prenode + Gun.is.rel(key);
s3.GET(key, function(err, data, text, meta){
meta = meta || {};
Gun.log('via s3', key, err);
if(err && err.statusCode == 404){
err = null; // we want a difference between 'unfound' (data is null) and 'error' (auth is wrong).