@mablhq/mabl-cli 2.69.3 → 2.69.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mablhq/mabl-cli",
3
- "version": "2.69.3",
3
+ "version": "2.69.6",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "The official mabl command line interface tool",
6
6
  "main": "index.js",
@@ -23,7 +23,7 @@
23
23
  "@aws-crypto/crc32c": "5.1.0",
24
24
  "@google-cloud/storage": "7.9.0",
25
25
  "@mablhq/newman-reporter-mabl-console": "0.4.2",
26
- "@mablhq/playwright-reporter": "0.5.8",
26
+ "@mablhq/playwright-reporter": "0.5.9",
27
27
  "@modelcontextprotocol/sdk": "1.11.3",
28
28
  "@plist/common": "1.1.0",
29
29
  "@plist/parse": "1.1.0",
@@ -52,11 +52,16 @@ class MobileAppFileCache extends FileCache_1.FileCache {
52
52
  const { crc32c_hex: crc32cHex, size: sizeBytes } = mobileAppFile;
53
53
  const getReader = async () => {
54
54
  loggingProvider_1.logger.info(`Downloading mobile app file ${id}`);
55
- const apiClient = await this.mablApiClientPromise;
56
- const { download_url: downloadUrl } = await apiClient.getMobileAppFile(id, true);
57
- return (await apiClient.httpClient.get(downloadUrl, {
58
- responseType: 'stream',
59
- })).data;
55
+ try {
56
+ const apiClient = await this.mablApiClientPromise;
57
+ const { download_url: downloadUrl } = await apiClient.getMobileAppFile(id, true);
58
+ return (await apiClient.httpClient.get(downloadUrl, {
59
+ responseType: 'stream',
60
+ })).data;
61
+ }
62
+ catch (e) {
63
+ throw Error(`Failed to download mobile app file ${id}. ${e}`);
64
+ }
60
65
  };
61
66
  const extension = this.getMobileAppFileExtension(mobileAppFile);
62
67
  if (!extension) {