logs: Issue created

This commit is contained in:
Rhys Arkins 2020-02-24 13:56:04 +01:00
parent ab9361a170
commit 712f9f091a
3 changed files with 3 additions and 2 deletions

View file

@ -584,7 +584,7 @@ export async function ensureIssue({
return 'updated'; return 'updated';
} }
} else { } else {
logger.debug('Issue created'); logger.info('Issue created');
await api.post(`/2.0/repositories/${config.repository}/issues`, { await api.post(`/2.0/repositories/${config.repository}/issues`, {
body: { body: {
title, title,

View file

@ -1401,7 +1401,7 @@ export async function ensureIssue({
body, body,
}, },
}); });
logger.debug('Issue created'); logger.info('Issue created');
// reset issueList so that it will be fetched again as-needed // reset issueList so that it will be fetched again as-needed
delete config.issueList; delete config.issueList;
return 'created'; return 'created';

View file

@ -739,6 +739,7 @@ export async function ensureIssue({
description, description,
}, },
}); });
logger.info('Issue created');
// delete issueList so that it will be refetched as necessary // delete issueList so that it will be refetched as necessary
delete config.issueList; delete config.issueList;
return 'created'; return 'created';