diff --git a/dist/index.js b/dist/index.js index 41e868d3a..f15c6307f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -65032,7 +65032,7 @@ async function downloadAndExtract(platform, engine, version, rubyPrefix) { if (error.message.includes('404')) { throw new Error(`Unavailable version ${version} for ${engine} on ${platform} You can request it at https://github.com/ruby/setup-ruby/issues - Original Error: (${error.message})`) + Cause: ${error.message}`) } else { throw error } diff --git a/ruby-builder.js b/ruby-builder.js index a28ddc205..06a81e0ce 100644 --- a/ruby-builder.js +++ b/ruby-builder.js @@ -75,7 +75,7 @@ async function downloadAndExtract(platform, engine, version, rubyPrefix) { if (error.message.includes('404')) { throw new Error(`Unavailable version ${version} for ${engine} on ${platform} You can request it at https://github.com/ruby/setup-ruby/issues - Original Error: (${error.message})`) + Cause: ${error.message}`) } else { throw error }