@adobe/spacecat-shared-gpt-client 1.5.0 → 1.5.1
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 +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-gpt-client-v1.5.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-gpt-client-v1.5.0...@adobe/spacecat-shared-gpt-client-v1.5.1) (2025-02-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* improves logs for Firefall client failures ([#632](https://github.com/adobe/spacecat-shared/issues/632)) ([eeac857](https://github.com/adobe/spacecat-shared/commit/eeac8575ceab5b5b086dd8daaf46dc07430fe5a4))
|
|
7
|
+
|
|
1
8
|
# [@adobe/spacecat-shared-gpt-client-v1.5.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-gpt-client-v1.4.7...@adobe/spacecat-shared-gpt-client-v1.5.0) (2025-02-17)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -134,7 +134,8 @@ export default class FirefallClient {
|
|
|
134
134
|
});
|
|
135
135
|
|
|
136
136
|
if (!response.ok) {
|
|
137
|
-
|
|
137
|
+
const errorBody = await response.text();
|
|
138
|
+
throw new Error(`Job submission failed with status code ${response.status} and body: ${errorBody}`);
|
|
138
139
|
}
|
|
139
140
|
|
|
140
141
|
return response.json();
|