@sentry/cli 2.0.1 → 2.0.2

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=6bf38158c0b3d198802a22ec2d2021d619e5fe1a125f2d21395c6b0b54f5808d
2
- sentry-cli-Darwin-universal=4ded776b94d1c1e26fbb9e8811fdf003e7f51116bd4720e627a3bc2b9a814e74
3
- sentry-cli-Darwin-x86_64=a3add22156f70fba60c4f2eb47880362c704bd1fbc6f455f7f9f941a3e269754
4
- sentry-cli-Linux-aarch64=d05bf0aba980795fb046c62a693bd6c152421de1f85c1c851f94e206cabbe62f
5
- sentry-cli-Linux-armv7=3e64b3b61dca0cae6c6845dfbfe7ec19a208cc04480ec1dca5a343d2a5a8f3f5
6
- sentry-cli-Linux-i686=2ac8358c52f5a8936bade1729fb85e3b8be604d60bd195f88609cb44e6fb8f06
7
- sentry-cli-Linux-x86_64=4f378d823e03a40560cb0438b3eb3ee54ea828aff6087a9ef63dfeb31fb064ab
8
- sentry-cli-Windows-i686.exe=83965514cc737d6d96cd04d39d0ba91a26fa7881e3bcd325ac89a60d615f4de1
9
- sentry-cli-Windows-x86_64.exe=00df30fa383c90e27a14f8ddb151f8b29a7edb78507e8832350260bd0e131209
1
+ sentry-cli-Darwin-arm64=38c0c6c973cfa3cf9d8786addfb489f8ba3691cbce4ff3742702625bbf3b2369
2
+ sentry-cli-Darwin-universal=60b03ee1316558dd5b0317e7e14876595672eb3b6a22ceb40b3d73a656a9b34b
3
+ sentry-cli-Darwin-x86_64=4833012ab22592c2e3414367eaaa7b6697b4900983ca89b1b7f37881c5976475
4
+ sentry-cli-Linux-aarch64=df81846e4969b2acbad8d70810eca6d6621b69b16b2e3497f437955849489887
5
+ sentry-cli-Linux-armv7=bd5cee95cec37fe4c3d4be98d7aba928393cdceba295676907e5f40eb2817e9d
6
+ sentry-cli-Linux-i686=6c60b9718571843a14a57463d2f2939aad44428db8bb6e6d26897e5fb8748e5f
7
+ sentry-cli-Linux-x86_64=b88ae7e44706772812864f8f9a56871cb984bd478b7de8b583bbf3442fad4c1c
8
+ sentry-cli-Windows-i686.exe=641d20451d0a468729fb9406e8eac3b43351f61e7b0328162741fce1ac17b8c3
9
+ sentry-cli-Windows-x86_64.exe=6694e2fcd8a5ecd7322e42e179e869323482378b8f07d75da19e199478d46277
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/cli",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
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) {