diff --git a/package.json b/package.json index 971e838c4..2a49f23a8 100644 --- a/package.json +++ b/package.json @@ -135,7 +135,8 @@ }, "pnpm": { "patchedDependencies": { - "roughjs": "patches/roughjs.patch" + "roughjs": "patches/roughjs.patch", + "@argos-ci/core": "patches/@argos-ci__core.patch" } } } diff --git a/patches/@argos-ci__core.patch b/patches/@argos-ci__core.patch new file mode 100644 index 000000000..b7a6cdbc8 --- /dev/null +++ b/patches/@argos-ci__core.patch @@ -0,0 +1,14 @@ +diff --git a/dist/index.mjs b/dist/index.mjs +index 749b5d65546011b9d87d0a28dd86c1de091efe47..47a8ba5ed143787dc761e12d670d3eb8f7004311 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)); + 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 89440f19e..0e42bdf80 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,6 +5,9 @@ settings: excludeLinksFromLockfile: false patchedDependencies: + '@argos-ci/core': + hash: uo5hizdipvukv3j7uqzpz6vn3u + path: patches/@argos-ci__core.patch roughjs: hash: vxb6t6fqvzyhwhtjiliqr25jyq path: patches/roughjs.patch @@ -9946,7 +9949,7 @@ snapshots: '@argos-ci/browser@2.1.3': {} - '@argos-ci/core@2.5.0': + '@argos-ci/core@2.5.0(patch_hash=uo5hizdipvukv3j7uqzpz6vn3u)': dependencies: '@argos-ci/api-client': 0.2.0 '@argos-ci/util': 2.1.1 @@ -9962,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 + '@argos-ci/core': 2.5.0(patch_hash=uo5hizdipvukv3j7uqzpz6vn3u) '@argos-ci/util': 2.1.1 cypress: 13.14.1 cypress-wait-until: 3.0.2 @@ -13094,7 +13097,7 @@ snapshots: '@vueuse/shared': 10.11.1(vue@3.4.38(typescript@5.6.2)) vue-demi: 0.14.10(vue@3.4.38(typescript@5.6.2)) optionalDependencies: - axios: 1.7.5 + axios: 1.7.5(debug@4.3.7) focus-trap: 7.5.4 transitivePeerDependencies: - '@vue/composition-api' @@ -13106,7 +13109,7 @@ snapshots: '@vueuse/shared': 11.0.3(vue@3.4.38(typescript@5.4.5)) vue-demi: 0.14.10(vue@3.4.38(typescript@5.4.5)) optionalDependencies: - axios: 1.7.5 + axios: 1.7.5(debug@4.3.7) focus-trap: 7.5.4 transitivePeerDependencies: - '@vue/composition-api' @@ -13539,15 +13542,6 @@ snapshots: transitivePeerDependencies: - debug - axios@1.7.5: - dependencies: - follow-redirects: 1.15.6(debug@4.3.6) - form-data: 4.0.0 - proxy-from-env: 1.1.0 - transitivePeerDependencies: - - debug - optional: true - axios@1.7.5(debug@4.3.7): dependencies: follow-redirects: 1.15.6(debug@4.3.7) @@ -16177,7 +16171,7 @@ snapshots: http-proxy@1.18.1: dependencies: eventemitter3: 4.0.7 - follow-redirects: 1.15.6(debug@4.3.6) + follow-redirects: 1.15.6(debug@4.3.7) requires-port: 1.0.0 transitivePeerDependencies: - debug