Skip to content

Commit

Permalink
fix: Promise not rejected when user cancels getSigningCertificate
Browse files Browse the repository at this point in the history
Signed-off-by: Tanel Metsar <tanel.metsar@cgi.com>
  • Loading branch information
taneltm authored and mrts committed Feb 1, 2022
1 parent 192ea65 commit db00e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background/actions/getSigningCertificate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default async function getSigningCertificate(
console.error("GetSigningCertificate:", error);

return {
action: Action.STATUS_FAILURE,
action: Action.GET_SIGNING_CERTIFICATE_FAILURE,
error: serializeError(error),
};
} finally {
Expand Down

0 comments on commit db00e57

Please sign in to comment.