Skip to content
Snippets Groups Projects
Commit 095cb3b0 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

logs: log platform error message in git

parent 6ddda0fa
Branches
Tags
No related merge requests found
......@@ -64,6 +64,7 @@ function checkForPlatformFailure(err: Error): void {
];
for (const errorStr of platformFailureStrings) {
if (err.message.includes(errorStr)) {
logger.debug({ err }, 'Converting git error to ExternalHostError');
throw new ExternalHostError(err, 'git');
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment