Fix commit message reporting

This commit is contained in:
Sam Becker 2025-02-13 23:14:40 -06:00
parent 0a2b8666bd
commit c63140b227
2 changed files with 3 additions and 1 deletions

View File

@ -179,6 +179,7 @@ export const getGitHubMetaWithFallback = (params: RepoParams) =>
console.error('Error retrieving GitHub meta', { params, error: e });
return {
...params,
commitMessage: undefined,
urlOwner: undefined,
urlRepo: undefined,
urlBranch: undefined,

View File

@ -23,6 +23,7 @@ import {
TEMPLATE_REPO_OWNER,
TEMPLATE_REPO_NAME,
VERCEL_GIT_COMMIT_SHA_SHORT,
VERCEL_GIT_COMMIT_MESSAGE,
} from '@/app-core/config';
import { AdminAppInsight } from '.';
@ -105,7 +106,7 @@ export default function AdminAppInsightsClient({
{VERCEL_GIT_COMMIT_SHA_SHORT ?? DEBUG_COMMIT_SHA}
</div>
<div className="truncate">
{codeMeta?.commit ?? DEBUG_COMMIT_MESSAGE}
{VERCEL_GIT_COMMIT_MESSAGE ?? DEBUG_COMMIT_MESSAGE}
</div>
</div>}
/>