luxlabs 1.0.14 → 1.0.15

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.
@@ -503,7 +503,8 @@ async function callLifecycleApi(endpoint, testId, interfaceId, creds, testData =
503
503
  const data = await response.json();
504
504
 
505
505
  if (!response.ok) {
506
- throw new Error(data.error || `API returned ${response.status}`);
506
+ const errorMsg = data.details || data.error || `API returned ${response.status}`;
507
+ throw new Error(errorMsg);
507
508
  }
508
509
 
509
510
  return data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "luxlabs",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "CLI tool for Lux - Upload and deploy interfaces from your terminal",
5
5
  "author": "Jason Henkel <jason@uselux.ai>",
6
6
  "license": "SEE LICENSE IN LICENSE",