Skip to main content

Hi All,

 

I am trying to handle a exception "Duplicate key 'OperatorTypeParameter'", however, my otherwise callback does not get executed, I also tried to add a try / catch but even in that case it does not work.

 

try {

  workbook.getParametersAsync().then(function(parameter) {}).otherwise(function(err) {

    try {

      console.log(err);

    } catch(e) {

      console.log(e)

    }

  });

} catch(e) {

  console.log(e)

}

 

Not sure it its a bug. Any help in this would be really great.

 

Thanks.

0/9000