Throw error when file couldn't be fetched from IPFS
This commit is contained in:
@@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user