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(
|
logger.error(
|
||||||
{
|
{
|
||||||
error,
|
error,
|
||||||
stdout: error.stdout.toString(),
|
stdout: error.stdout?.toString(),
|
||||||
stderr: error.stderr.toString(),
|
stderr: error.stderr?.toString(),
|
||||||
},
|
},
|
||||||
"Failed to get commit SHA.",
|
"Failed to get commit SHA.",
|
||||||
error
|
error
|
||||||
|
|
Loading…
Reference in New Issue