Include CLI output in JSON error

This commit is contained in:
Michael B. Gale
2023-06-06 12:17:21 +01:00
parent 6f07b504a5
commit e08f131aab
3 changed files with 3 additions and 3 deletions

View File

@@ -720,7 +720,7 @@ export async function getCodeQLForCmd(
return JSON.parse(output);
} catch (e) {
throw new Error(
`Unexpected output from codeql resolve build-environment: ${e}`
`Unexpected output from codeql resolve build-environment: ${e} in\n${output}`
);
}
},