Permalink
Browse files

给下载添加异常捕获

  • Loading branch information...
snadn committed Nov 18, 2014
1 parent 3a183b5 commit 2b3f01f22a8d2dd7d319e3b3ad8dbac763576a0c
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/Lib/Core/Controller.js
@@ -421,6 +421,9 @@ module.exports = Class(function() {
http.end();
deferred.resolve();
});
fileStream.on('error', function(err) {
deferred.reject(err);
});
return deferred.promise;
},
/**

0 comments on commit 2b3f01f

Please sign in to comment.