@sentry/cli 2.0.0 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/checksums.txt CHANGED
@@ -1,9 +1,9 @@
1
- sentry-cli-Darwin-arm64=195df7af336ae6761ac160b57bcd9b43d304d2c48c6835d05d2dd203caf50a14
2
- sentry-cli-Darwin-universal=edeaf887e46fb7c8702463ab0821502bba2f41c3cb497507fb3bfbe4635727c4
3
- sentry-cli-Darwin-x86_64=5e5a7d7270ba9486744fc6c1846efba9276fa3a2732ded90daf185bb6ec461f3
4
- sentry-cli-Linux-aarch64=43d08d15409aec8925c84364a9976ef00ceed7bb78343151a6705c5fd735833f
5
- sentry-cli-Linux-armv7=850b0d0c0f1995c34fd9721cf83783d29ab7f32d486273c09348af42f66ecf87
6
- sentry-cli-Linux-i686=a83ce83846d8d7456212e3224b34e0da7213611e49d75e8aa58ccd2f3219220e
7
- sentry-cli-Linux-x86_64=f1231a5d8d2c0d2a96b61ddf85ad10274731cb904665593bc02427c130728084
8
- sentry-cli-Windows-i686.exe=7fac8c66defd3aea009a53678c625070557b437c8fb5a95670069bb36e656d2f
9
- sentry-cli-Windows-x86_64.exe=5c7eb3072edc4901d02095155b0d1b30c003c53b25e4aa0dd21b31e510c1bde2
1
+ sentry-cli-Darwin-arm64=c3e015c0071e5d5c0e15eafd79818d05e7c73a6a1b48411387d6c310c967d1dc
2
+ sentry-cli-Darwin-universal=89a6c663d8642625281ce0313d07f7e14762cb94d05e3b3159b28ad1dfbf7be5
3
+ sentry-cli-Darwin-x86_64=500491c3d043b89b582ec1440742afd820d65318fedb9a553db1fc3cf68810c2
4
+ sentry-cli-Linux-aarch64=ae1d495faa0f92a681e9425a61a6364e28105181911428f9db6dedd94a81ed8f
5
+ sentry-cli-Linux-armv7=88242c3bd2cd47bab201c5209aad3baa0c8cf4b73cef28e4da27f6e1a8ff08e5
6
+ sentry-cli-Linux-i686=ce876ee505911815f34a01d94ffddcd4575c5f3cf7d893081374ef237847d9f4
7
+ sentry-cli-Linux-x86_64=fdcc34085404086eff7dd0d96bc68603da4bce1c094f8898fccfd08b4e599453
8
+ sentry-cli-Windows-i686.exe=0eedd609ee68bb4fef61e4cd0f50816fbd1bc955cda2ed978e9f33e4b8ace14a
9
+ sentry-cli-Windows-x86_64.exe=12952d184511366aa3feae1ddc95af3730f54013a5c399ed2f75e8b2363171fa
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/cli",
3
- "version": "2.0.0",
3
+ "version": "2.0.3",
4
4
  "description": "A command line utility to work with Sentry. https://docs.sentry.io/hosted/learn/cli/",
5
5
  "repository": "git://github.com/getsentry/sentry-cli.git",
6
6
  "homepage": "https://docs.sentry.io/hosted/learn/cli/",
@@ -230,13 +230,9 @@ async function downloadBinary() {
230
230
  redirect: 'follow',
231
231
  });
232
232
  } catch (error) {
233
- if (error instanceof fetch.FetchError) {
234
- throw new Error(
235
- `Unable to download sentry-cli binary from ${downloadUrl}.\nError code: ${error.code}`
236
- );
237
- } else {
238
- throw error;
239
- }
233
+ throw new Error(
234
+ `Unable to download sentry-cli binary from ${downloadUrl}.\nError message: ${error.message}\nError code: ${error.code}`
235
+ );
240
236
  }
241
237
 
242
238
  if (!response.ok) {