Ok, so if I have this condition:
var sourceStatus = message.getConnectorMessages().get(0).getStatus();
if (sourceStatus == ERROR) {
// where can I obtain the error message associated with this? So far I have
// tried .getStatusMessage and .getMessage
}
I have no problem getting the destination status and error messages. But, a quick side question, should I be checking the status against the string 'FAILURE' or an enumerated value?
var sourceStatus = message.getConnectorMessages().get(0).getStatus();
if (sourceStatus == ERROR) {
// where can I obtain the error message associated with this? So far I have
// tried .getStatusMessage and .getMessage
}
I have no problem getting the destination status and error messages. But, a quick side question, should I be checking the status against the string 'FAILURE' or an enumerated value?
Get Source Error in PostProcessor
0 commentaires:
Enregistrer un commentaire