Skip to content

Commit

Permalink
log filename as well
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydp17 committed Mar 29, 2018
1 parent 617dc5b commit fc0beee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/storage-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ exports.download = function(provider, req, res, container, file, cb) {

reader.pipe(res);
reader.on('error', function(err) {
console.log('loopback component storage: error fileName:', fileName);
handleError(res, err);
});
}
Expand Down

0 comments on commit fc0beee

Please sign in to comment.