We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bbcca11 + b197dc9 commit f029ffaCopy full SHA for f029ffa
1 file changed
index.js
@@ -386,7 +386,7 @@ function ILSWSErrorResponse (error) {
386
return Boom.gatewayTimeout(error.message + ' (500)')
387
default:
388
console.log(error)
389
- if ( typeof error.response.data.messageList !== 'undefined' ) {
+ if ( typeof error.response.data !== 'undefined' ) {
390
console.log(error.response.data.messageList[0].message)
391
}
392
return Boom.badImplementation(`ILSWS ${error.toString()}` + ' (600)')
0 commit comments