1
0
Fork 0
mirror of https://github.com/actions/setup-java synced 2024-12-22 21:22:41 +00:00

improved cleanup error message

This commit is contained in:
Jared Petersen 2020-07-17 21:23:13 -06:00
parent ac9630fb91
commit 38e0c8bd18
2 changed files with 2 additions and 2 deletions

View file

@ -1006,7 +1006,7 @@ function run() {
yield gpg.deleteKey(keyFingerprint); yield gpg.deleteKey(keyFingerprint);
} }
catch (error) { catch (error) {
core.setFailed(error.message); core.setFailed('failed to remove private key');
} }
} }
}); });

View file

@ -11,7 +11,7 @@ async function run() {
); );
await gpg.deleteKey(keyFingerprint); await gpg.deleteKey(keyFingerprint);
} catch (error) { } catch (error) {
core.setFailed(error.message); core.setFailed('failed to remove private key');
} }
} }
} }