Skip to content

Commit 2ede615

Browse files
committed
chore: handle error printing for usageReporting
1 parent 295c7a9 commit 2ede615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/helpers/usageReporting.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ async function send(args) {
297297
};
298298
fileLogger.info(`${JSON.stringify(result)}`);
299299
} catch (error) {
300-
fileLogger.error(JSON.stringify(error.response));
300+
fileLogger.error(JSON.stringify(error.response.data));
301301
return;
302302
}
303303
}

0 commit comments

Comments
 (0)