about summary refs log tree commit diff
path: root/src/state/session
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-01-03 00:11:04 -0600
committerGitHub <noreply@github.com>2024-01-02 22:11:04 -0800
commit2f6f27c4fb50cbefc2aef00d589fc3629a0e091a (patch)
treee496932d0aa8aa4ca090181ccdf417a4c16cadac /src/state/session
parentd95972c9ffec4965e2a203454b7645905359e93d (diff)
downloadvoidsky-2f6f27c4fb50cbefc2aef00d589fc3629a0e091a.tar.zst
Add some more logging (#2402)
* Add a few logs

* Report unknown create account errors separately

* Downgrade to warn

* Nvm
Diffstat (limited to 'src/state/session')
-rw-r--r--src/state/session/index.tsx12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/state/session/index.tsx b/src/state/session/index.tsx
index aa8c94ebc..a452d6aa6 100644
--- a/src/state/session/index.tsx
+++ b/src/state/session/index.tsx
@@ -181,14 +181,10 @@ export function Provider({children}: React.PropsWithChildren<{}>) {
 
   const createAccount = React.useCallback<ApiContext['createAccount']>(
     async ({service, email, password, handle, inviteCode}: any) => {
-      logger.debug(
-        `session: creating account`,
-        {
-          service,
-          handle,
-        },
-        logger.DebugContext.session,
-      )
+      logger.info(`session: creating account`, {
+        service,
+        handle,
+      })
       track('Try Create Account')
 
       const agent = new BskyAgent({service})