From b3b06a0aa867a63f7eca10b5475006b06d6307c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 13 Dec 2018 09:46:55 +0100 Subject: [PATCH] add logs about storing comments and builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- src/builds.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/builds.js b/src/builds.js index 7c1e553..25cb073 100644 --- a/src/builds.js +++ b/src/builds.js @@ -49,10 +49,12 @@ class Builds { } async addBuild (pr, build) { + console.log(`Storing build for PR-${pr}: #${build.id} for ${build.platform}`) return await this.builds.insert({pr, ...build}) } async addComment (pr, comment_id) { + console.log(`Storing comment for PR-${pr}: ${comment_id}`) return await this.comments.insert({pr, comment_id}) }