diff --git a/patches/@argos-ci__core.patch b/patches/@argos-ci__core.patch index b7a6cdbc8..9bd146877 100644 --- a/patches/@argos-ci__core.patch +++ b/patches/@argos-ci__core.patch @@ -1,14 +1,14 @@ diff --git a/dist/index.mjs b/dist/index.mjs -index 749b5d65546011b9d87d0a28dd86c1de091efe47..47a8ba5ed143787dc761e12d670d3eb8f7004311 100644 +index 749b5d65546011b9d87d0a28dd86c1de091efe47..c6630f190eb371a5727f1b37325e848f96c02bd0 100644 --- a/dist/index.mjs +++ b/dist/index.mjs @@ -722,6 +722,9 @@ const createArgosLegacyAPIClient = (options)=>{ }); return response.data; } catch (error) { -+ console.error(error); + console.error(error.response); -+ console.error(JSON.stringify(error.response, null, 2)); ++ console.error(error.response.details); ++ console.error(JSON.stringify(error.response.details, null, 2)); if (error?.response?.data?.error?.message) { // @ts-ignore throw new Error(error.response.data.error.message, { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0e42bdf80..2c9ae2e18 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,7 +6,7 @@ settings: patchedDependencies: '@argos-ci/core': - hash: uo5hizdipvukv3j7uqzpz6vn3u + hash: h747yhlouzzcfgu7wmk6ozsy54 path: patches/@argos-ci__core.patch roughjs: hash: vxb6t6fqvzyhwhtjiliqr25jyq @@ -9949,7 +9949,7 @@ snapshots: '@argos-ci/browser@2.1.3': {} - '@argos-ci/core@2.5.0(patch_hash=uo5hizdipvukv3j7uqzpz6vn3u)': + '@argos-ci/core@2.5.0(patch_hash=h747yhlouzzcfgu7wmk6ozsy54)': dependencies: '@argos-ci/api-client': 0.2.0 '@argos-ci/util': 2.1.1 @@ -9965,7 +9965,7 @@ snapshots: '@argos-ci/cypress@2.1.2(cypress@13.14.1)': dependencies: '@argos-ci/browser': 2.1.3 - '@argos-ci/core': 2.5.0(patch_hash=uo5hizdipvukv3j7uqzpz6vn3u) + '@argos-ci/core': 2.5.0(patch_hash=h747yhlouzzcfgu7wmk6ozsy54) '@argos-ci/util': 2.1.1 cypress: 13.14.1 cypress-wait-until: 3.0.2