Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Shorten

Manav Rathi4be92369fdd1
diff --git a/packages/shared/logging/web.ts b/packages/shared/logging/web.ts
index a4bfd74846..13eb5a1827 100644
--- a/packages/shared/logging/web.ts
+++ b/packages/shared/logging/web.ts
@@ -76,12 +76,9 @@ export const logStartupMessage = async (appId: string) => {
const appIdL = appId.toLowerCase();
const userID = (getData(LS_KEYS.USER) as User)?.id;
const sentryID = await getSentryUserID();
- const gitCommit = process.env.GIT_SHA;
- const dev = isDevBuild ? ' dev' : '';
+ const buildId = isDevBuild ? 'dev' : `git ${process.env.GIT_SHA}`;
- addLogLine(
- `ente-${appIdL}-web${dev} git ${gitCommit} uid ${userID} sid ${sentryID}`
- );
+ addLogLine(`ente-${appIdL}-web ${buildId} uid ${userID} sid ${sentryID}`);
};
function getLogs(): Log[] {