From 39876685c835ff1420484fff8bf8782d87830725 Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Mon, 20 May 2024 08:36:04 -0300 Subject: [PATCH] Print JSON --- src/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index c5af7e5..d518755 100644 --- a/src/index.ts +++ b/src/index.ts @@ -312,9 +312,8 @@ class MagicNixCacheAction { .json(); if (res.status !== 200) { - actionsCore.info(JSON.stringify(res)); 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)}`, ); }