rafaelmaeuer
8/11/2017 - 4:14 PM

Unhandled Promise Rejection - From https://stackoverflow.com/questions/40500490/what-is-unhandled-promise-rejection

var myfunc = PTest(); 
myfunc.then(function () {      
  console.log("Promise Resolved"); 
}).catch(function () {      
  console.log("Promise Rejected"); 
});