File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6196,7 +6196,7 @@ function removePrivateKeyFromKeychain() {
6196
6196
yield gpg.deleteKey(keyFingerprint);
6197
6197
}
6198
6198
catch (error) {
6199
- core.setFailed(' Failed to remove private key' );
6199
+ core.setFailed(` Failed to remove private key due to: ${error.message}` );
6200
6200
}
6201
6201
}
6202
6202
});
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ async function removePrivateKeyFromKeychain() {
11
11
const keyFingerprint = core . getState ( constants . STATE_GPG_PRIVATE_KEY_FINGERPRINT ) ;
12
12
await gpg . deleteKey ( keyFingerprint ) ;
13
13
} catch ( error ) {
14
- core . setFailed ( ' Failed to remove private key' ) ;
14
+ core . setFailed ( ` Failed to remove private key due to: ${ error . message } ` ) ;
15
15
}
16
16
}
17
17
}
You can’t perform that action at this time.
0 commit comments