Skip to content

Commit

Permalink
fix: change error logs in the gitlab contributors file
Browse files Browse the repository at this point in the history
  • Loading branch information
poidogho committed Jun 24, 2024
1 parent 5442e86 commit 2db9018
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/gitlab/gitlab-contributors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const fetchGitlabContributors = async (
}
} catch (err) {
debug('Failed to retrieve contributors from Gitlab.\n' + err);
console.log(
console.error(
'Failed to retrieve contributors from Gitlab. Try running with `DEBUG=snyk* snyk-contributor`',
);
}
Expand Down Expand Up @@ -152,7 +152,7 @@ export const fetchGitlabContributorsForProject = async (
}
} catch (err) {
debug('Failed to retrieve commits from Gitlab.\n' + err);
console.log(
console.error(
'Failed to retrieve commits from Gitlab. Try running with `DEBUG=snyk* snyk-contributor`',
);
}
Expand Down Expand Up @@ -221,7 +221,7 @@ export const fetchGitlabProjects = async (
}
} catch (err) {
debug('Failed to retrieve project list from Gitlab.\n' + err);
console.log(
console.error(
'Failed to retrieve project list from Gitlab. Try running with `DEBUG=snyk* snyk-contributor`',
);
}
Expand Down Expand Up @@ -252,7 +252,7 @@ export const findGroupPaths = async (
});
} catch (err) {
debug('Failed to retrieve group from Gitlab.\n' + err);
console.log(
console.error(
'Failed to retrieve group from Gitlab. Try running with `DEBUG=snyk* snyk-contributor`',
);
}
Expand Down

0 comments on commit 2db9018

Please sign in to comment.