mirror of
https://github.com/dessant/lock-threads.git
synced 2026-03-13 01:27:03 -04:00
fix: log missing config as info
Avoid spamming Sentry with this event.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user