Skip to content

Commit

Permalink
aadds request.handleError to handler #32
Browse files Browse the repository at this point in the history
  • Loading branch information
jackcarlisle committed Oct 6, 2016
1 parent ebdf9e4 commit e179da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/sdk-upload/lib/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = [
var file = request.payload.file
var filename = request.payload.filename
s3.upload(file, filename, function (err, data) {
console.log(err)
request.handleError(err, data)
reply(data)
})
}
Expand Down

0 comments on commit e179da9

Please sign in to comment.