prevents crash on startup when git is not installed

This commit is contained in:
nai-degen 2023-06-21 01:24:35 -05:00
parent 43359779e7
commit db034a51b3
1 changed files with 2 additions and 2 deletions

View File

@ -197,8 +197,8 @@ async function setBuildInfo() {
logger.error(
{
error,
stdout: error.stdout.toString(),
stderr: error.stderr.toString(),
stdout: error.stdout?.toString(),
stderr: error.stderr?.toString(),
},
"Failed to get commit SHA.",
error