mirror of
https://github.com/DeterminateSystems/magic-nix-cache-action.git
synced 2024-12-23 13:32:03 +01:00
Print JSON
This commit is contained in:
parent
c930804757
commit
39876685c8
1 changed files with 1 additions and 2 deletions
|
@ -312,9 +312,8 @@ class MagicNixCacheAction {
|
||||||
.json();
|
.json();
|
||||||
|
|
||||||
if (res.status !== 200) {
|
if (res.status !== 200) {
|
||||||
actionsCore.info(JSON.stringify(res));
|
|
||||||
this.failInStrictMode(
|
this.failInStrictMode(
|
||||||
`Failed to trigger workflow finish hook; expected HTTP status 200 from POST to /api/workflow-finish but got ${res.status} instead`,
|
`Failed to trigger workflow finish hook. Response: ${JSON.stringify(res)}`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue