Throw error when file couldn't be fetched from IPFS

This commit is contained in:
2017-06-08 16:42:16 +02:00
parent 7f2f781a77
commit 99e921c302
+1 -1
View File
@@ -28,7 +28,7 @@ export default Ember.Service.extend({
return res.toString();
}, err => {
Ember.Logger.error('[ipfs] error trying to fetch file', hash, err);
return err;
throw err;
});
}