@unito/integration-cli 0.58.7 → 0.58.8

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.
@@ -10,7 +10,8 @@ async function performOAuth2Flow(applicationCredentials, environment = globalCon
10
10
  const serverUrl = await oauthHelper.startServer();
11
11
  const healthCheck = await fetch(`${serverUrl}/health`);
12
12
  if (healthCheck.status !== 200) {
13
- throw new Error('OAuthServer did not start');
13
+ const error = await healthCheck.text();
14
+ throw new Error(`OAuthServer did not start correctly.\n HealthCheck status: ${healthCheck.status}\n Response: ${error}`);
14
15
  }
15
16
  await oauthHelper.authorize();
16
17
  const oauth2Response = await oauthHelper.callbackIsDone();
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.58.7",
2
+ "version": "0.58.8",
3
3
  "commands": {
4
4
  "activity": {
5
5
  "id": "activity",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unito/integration-cli",
3
- "version": "0.58.7",
3
+ "version": "0.58.8",
4
4
  "description": "Integration CLI",
5
5
  "bin": {
6
6
  "integration-cli": "./bin/run"