Add some more logging (#2402)
* Add a few logs * Report unknown create account errors separately * Downgrade to warn * Nvm
This commit is contained in:
parent
d95972c9ff
commit
2f6f27c4fb
3 changed files with 16 additions and 10 deletions
|
@ -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})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue