Skip to content

Commit

Permalink
Fixed request failed error
Browse files Browse the repository at this point in the history
introduced in 43aa0e5
  • Loading branch information
fvdm committed Oct 28, 2013
1 parent 7592f79 commit 63cc991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mollie.js
Expand Up @@ -319,7 +319,7 @@ mollie.talk = function( path, fields, callback ) {
})
})

response.on( 'error', function( error ) {
request.on( 'error', function( error ) {
var err = new Error('request failed')
err.error = error
doCallback( err )
Expand Down

0 comments on commit 63cc991

Please sign in to comment.