More descriptive error for missing files.
This commit is contained in:
parent
b32d7140f4
commit
bb04c13873
@ -62,7 +62,7 @@ External.prototype.processFile = function(local) {
|
||||
},
|
||||
function(err, t) {
|
||||
if (t) return this();
|
||||
if (local) throw new Error('File not found.');
|
||||
if (local) throw new Error('File not found: ' + that.tmp);
|
||||
return (new get(that.uri)).toDisk(that.tmp, this);
|
||||
},
|
||||
function(err) {
|
||||
|
Loading…
Reference in New Issue
Block a user