Skip to content

Commit

Permalink
Merge pull request #1711 from contentstack/fix/DX-1919
Browse files Browse the repository at this point in the history
fix: server response error while trying to fetch server logs
  • Loading branch information
aman19K authored Dec 20, 2024
2 parents d32876f + 7c13471 commit 7b36494
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 9 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/contentstack-launch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $ npm install -g @contentstack/cli-launch
$ csdx COMMAND
running command...
$ csdx (--version|-v)
@contentstack/cli-launch/1.3.0 darwin-arm64 node-v22.2.0
@contentstack/cli-launch/1.3.1 darwin-arm64 node-v22.8.0
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-launch/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@contentstack/cli-launch",
"version": "1.3.0",
"version": "1.3.1",
"description": "Launch related operations",
"author": "Contentstack CLI",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-launch/src/graphql/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const serverlessLogsQuery: DocumentNode = gql`
query GetServerlessLogs($query: QueryLogMessagesInputType!) {
getServerlessLogs(query: $query) {
logs {
level
source
message
timestamp
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ export default class LogPolling {
environmentUid: this.config.environment,
startTime: this.startTime,
endTime: this.endTime,
deploymentUid: this.config.deployment,
},
},
pollInterval: this.config.pollingInterval,
Expand All @@ -201,6 +202,7 @@ export default class LogPolling {
environmentUid: string | undefined;
startTime: number;
endTime: number;
deploymentUid: string | undefined;
};
}
>,
Expand Down Expand Up @@ -232,6 +234,7 @@ export default class LogPolling {
environmentUid: this.config.environment,
startTime: this.startTime,
endTime: this.endTime,
deploymentUid: this.config.deployment,
},
});
});
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@contentstack/cli-cm-seed": "~1.10.0",
"@contentstack/cli-command": "~1.3.2",
"@contentstack/cli-config": "~1.9.0",
"@contentstack/cli-launch": "~1.3.0",
"@contentstack/cli-launch": "~1.3.1",
"@contentstack/cli-migration": "~1.6.4",
"@contentstack/cli-utilities": "~1.8.0",
"@contentstack/management": "~1.18.4",
Expand Down
6 changes: 3 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7b36494

Please sign in to comment.