Skip to content

Commit

Permalink
Catch more promises
Browse files Browse the repository at this point in the history
  • Loading branch information
darcato committed Sep 24, 2024
1 parent 85fd67d commit f30edc0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@
}
});

modalInstance.result.then(self.handleSuccess);
modalInstance.result.then(self.handleSuccess).catch(()=>{});
};

self.openUnlinkCertificateDialog = function (certificate) {
Expand All @@ -398,7 +398,7 @@
}
});

modalInstance.result.then(self.handleSuccess);
modalInstance.result.then(self.handleSuccess).catch(()=>{});
};
}

Expand Down

0 comments on commit f30edc0

Please sign in to comment.