prevents crash on startup when git is not installed
This commit is contained in:
parent
43359779e7
commit
db034a51b3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue