fix: log missing config as info

Avoid spamming Sentry with this event.
This commit is contained in:
dessant
2018-06-24 19:06:41 +03:00
parent 78527baa87
commit 5d4c58f9e8

View File

@@ -31,7 +31,7 @@ module.exports = async robot => {
try {
let repoConfig = await getMergedConfig(context, file);
if (!repoConfig) {
log.warn({repo, file}, 'Missing config');
log.info({repo, file}, 'Missing config');
repoConfig = {perform: false};
}
const {error, value} = schema.validate(repoConfig);