Skip to content

armgit / ente

Public Imported from GitHub
0

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

move console.log to log file

Abhinav8506b2f5ef5d
diff --git a/packages/shared/crypto/helpers.ts b/packages/shared/crypto/helpers.ts
index 3a01023ced..f78bde8036 100644
--- a/packages/shared/crypto/helpers.ts
+++ b/packages/shared/crypto/helpers.ts
@@ -8,6 +8,7 @@ import { setRecoveryKey } from '@ente/accounts/api/user';
import { logError } from '@ente/shared/sentry';
import isElectron from 'is-electron';
import ElectronAPIs from '../electron';
+import { addLogLine } from '../logging';
const LOGIN_SUB_KEY_LENGTH = 32;
const LOGIN_SUB_KEY_ID = 1;
@@ -104,7 +105,7 @@ export const saveKeyInSessionStore = async (
key
);
setKey(keyType, sessionKeyAttributes);
- console.log('fromDesktop', fromDesktop);
+ addLogLine('fromDesktop', fromDesktop);
if (
isElectron() &&
!fromDesktop &&