Closed xumes closed 6 years ago
report.logon() returns a promise.
You can catch the error by doing
report
.logon()
.then(function(response){
// do something
})
.catch(function(error){
// handle error
});
Hope this helps!
great, this is obviously, sorry, didn't catch this before.
I am making progress, do you know what kind of error is that?
error found: { Error: self signed certificate in certificate chain
at TLSSocket.<anonymous> (_tls_wrap.js:1103:38)
at emitNone (events.js:106:13)
at TLSSocket.emit (events.js:208:7)
at TLSSocket._finishInit (_tls_wrap.js:637:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:467:38) code: 'SELF_SIGNED_CERT_IN_CHAIN' }
fixed. thank you!
Hello,
I am trying to connect to an instance of Cognos, but I am not sure if we have the CMS available. The app is not returning error, so I am not sure what could be wrong.
My code looks like this:
I have only these logs on my console:
Can you help me?