From dcf19effbe871bab3b694f2cbcba15030a84958e Mon Sep 17 00:00:00 2001 From: Ross Brodbeck Date: Fri, 28 Aug 2020 14:22:14 -0400 Subject: [PATCH] update logging --- dist/index.js | 2 +- src/IssueProcessor.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 9f5328e7..ea4f916d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2715,7 +2715,7 @@ class IssueProcessor { direction: this.options.ascending ? 'asc' : 'desc', page }); - core.info(`issue data: ${issueResult.data}`); + core.info(`issue data: ${JSON.stringify(issueResult.data)}`); return issueResult.data; } catch (error) { diff --git a/src/IssueProcessor.ts b/src/IssueProcessor.ts index 351d64f5..d1a92b71 100644 --- a/src/IssueProcessor.ts +++ b/src/IssueProcessor.ts @@ -323,7 +323,7 @@ export class IssueProcessor { } ); - core.info(`issue data: ${issueResult.data}`); + core.info(`issue data: ${JSON.stringify(issueResult.data)}`); return issueResult.data; } catch (error) { core.error(`Get issues for repo error: ${error.message}`);