diff --git a/src/status-report.ts b/src/status-report.ts index 750d911d7..2ed6d38cf 100644 --- a/src/status-report.ts +++ b/src/status-report.ts @@ -388,6 +388,7 @@ export async function sendStatusReport( const client = getApiClient(); try { + core.debug("Sending status report to code scanning endpoint."); await client.request( "PUT /repos/:owner/:repo/code-scanning/analysis/status", { @@ -396,7 +397,9 @@ export async function sendStatusReport( data: statusReportJSON, }, ); + core.debug("Successfully completed sending of report to code scanning endpoint."); } catch (e) { + core.debug("Failed to send status report to code scanning endpoint."); console.log(e); if (isHTTPError(e)) { switch (e.status) {