Skip to content

Commit

Permalink
Add fallback for unknown SHA (project-chip#36789)
Browse files Browse the repository at this point in the history
  • Loading branch information
woody-apple authored Dec 10, 2024
1 parent c730701 commit f6163e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/darwin/Framework/CHIP/MTRFrameworkDiagnostics.mm
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@

#import "MTRLogging_Internal.h"

#ifndef GIT_COMMIT_SHA
#define GIT_COMMIT_SHA "unknown-sha"
#endif

void MTRFrameworkInitDiagnosticLog()
{
MTR_LOG("Matter Framework Init (git: %s)", GIT_COMMIT_SHA);
Expand Down

0 comments on commit f6163e4

Please sign in to comment.