Skip to content

Commit 92969cb

Browse files
committed
Improve startLaunch logging
1 parent f0d4eb8 commit 92969cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/report-portal-client.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ class RPClient {
196196
const tempId = this.getUniqId();
197197

198198
if (launchDataRQ.id) {
199+
this.logDebug(`Use existing launch with tempId ${tempId}`, launchDataRQ);
199200
this.map[tempId] = this.getNewItemObj((resolve) => resolve(launchDataRQ));
200201
this.map[tempId].realId = launchDataRQ.id;
201202
this.launchUuid = launchDataRQ.id;
@@ -213,7 +214,7 @@ class RPClient {
213214

214215
this.map[tempId] = this.getNewItemObj((resolve, reject) => {
215216
const url = 'launch';
216-
this.logDebug(`Start launch with tempId ${tempId}`, launchDataRQ);
217+
this.logDebug(`Start launch with tempId ${tempId}`, launchData);
217218
this.restClient.create(url, launchData).then(
218219
(response) => {
219220
this.map[tempId].realId = response.id;

0 commit comments

Comments
 (0)