Skip to content

Commit 38e0c8b

Browse files
committed
improved cleanup error message
1 parent ac9630f commit 38e0c8b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/cleanup/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@ function run() {
10061006
yield gpg.deleteKey(keyFingerprint);
10071007
}
10081008
catch (error) {
1009-
core.setFailed(error.message);
1009+
core.setFailed('failed to remove private key');
10101010
}
10111011
}
10121012
});

src/cleanup-java.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ async function run() {
1111
);
1212
await gpg.deleteKey(keyFingerprint);
1313
} catch (error) {
14-
core.setFailed(error.message);
14+
core.setFailed('failed to remove private key');
1515
}
1616
}
1717
}

0 commit comments

Comments
 (0)