mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-11 17:16:40 +08:00
chore: better error message
This commit is contained in:
parent
b339cd082c
commit
26d61f595f
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ let git;
|
|||
try {
|
||||
git = simpleGit(path.join(__dirname, PATH_TO_REPO));
|
||||
} catch (e) {
|
||||
console.error(`Failed to initialize git: ${e}`);
|
||||
git = undefined;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue