codeql
codeql copied to clipboard
Where can I find the explanation of return codes when codeql execution fails?
Description of the issue When I encounter errors while running codeql scans, troubleshooting can be very challenging. I would like to understand the specific meanings of the return codes from codeql.exe, as this would help me resolve issues more quickly. Is there any content related to this in the codeql documentation? If not, could you provide documentation that maps return codes to their descriptions? Thank you!
There is this documentation page: https://docs.github.com/en/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/exit-codes
It appears a couple of exit codes are missing from the documentation:
public static final int EXITCODE_QUERY_FAILURE = 34;
// Returned when the launcher script should transparently chain to a different command
public static final int EXITCODE_CHAIN_PROCESS = 70;
// Exit codes when something goes completely wrong
public static final int EXITCODE_DISKFULL = 97;
Of these the exit code 70 is a special one. It does not indicate an error, it merely indicates that processing was continued by a new process.
@KiRito02 hope @aibaars answer, answers your question. If not let us know so we can provide further guidance.
This issue is stale because it has been open 14 days with no activity. Comment or remove the Stale label in order to avoid having this issue closed in 7 days.
This issue was closed because it has been inactive for 7 days.