Adding missing error cause messages.

This commit is contained in:
softsimon
2020-10-28 11:00:48 +07:00
parent 29ff029b07
commit 5feaff130f
8 changed files with 14 additions and 13 deletions

View File

@@ -26,7 +26,7 @@ class BackendInfo {
try {
this.gitCommitHash = fs.readFileSync('../.git/refs/heads/master').toString().trim();
} catch (e) {
logger.err('Could not load git commit info, skipping.');
logger.err('Could not load git commit info: ' + e.message || e);
}
}
}