When I handle a promise with .finally() then I get this "Possibly unhandled rejection" error, so instead of .finally I have to use redundant .then() and .catch() with the same code inside. Is this a bug or there's a correct way to handle this rejection?
const deferred = $q.defer();
deferred.promise.finally(() => {});
deferred.reject();
Here's the fiddle.