@adobe/spacecat-shared-gpt-client 1.2.3 → 1.2.4
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/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/clients/firefall-client.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-gpt-client-v1.2.4](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-gpt-client-v1.2.3...@adobe/spacecat-shared-gpt-client-v1.2.4) (2024-05-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* more error details for firefall job ([#238](https://github.com/adobe/spacecat-shared/issues/238)) ([10dd6e7](https://github.com/adobe/spacecat-shared/commit/10dd6e7408aaf18e6c6269a35c325adbe0c56608))
|
|
7
|
+
|
|
1
8
|
# [@adobe/spacecat-shared-gpt-client-v1.2.3](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-gpt-client-v1.2.2...@adobe/spacecat-shared-gpt-client-v1.2.3) (2024-05-15)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -155,7 +155,7 @@ export default class FirefallClient {
|
|
|
155
155
|
} while (jobStatusResponse.status === 'PROCESSING' || jobStatusResponse.status === 'WAITING');
|
|
156
156
|
|
|
157
157
|
if (jobStatusResponse.status !== 'SUCCEEDED') {
|
|
158
|
-
throw new Error(`Job did not succeed, status: ${jobStatusResponse.status}`);
|
|
158
|
+
throw new Error(`Job did not succeed, status: ${jobStatusResponse.status}.\n${JSON.stringify(jobStatusResponse, null, 2)}`);
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
return jobStatusResponse;
|