diff options
author | Eric Bailey <git@esb.lol> | 2023-11-04 12:58:50 -0500 |
---|---|---|
committer | Eric Bailey <git@esb.lol> | 2023-11-04 12:58:50 -0500 |
commit | 7e29ebbadbf6246a664a2bf45b3798b3ecd87955 (patch) | |
tree | 4808764811049c27748112cdfa575abeef8fb948 /src/state/models/ui/create-account.ts | |
parent | df0dcf32f99631c52b039c7f1934481924d37465 (diff) | |
download | voidsky-7e29ebbadbf6246a664a2bf45b3798b3ecd87955.tar.zst |
Fix other error logs while I'm at it
Diffstat (limited to 'src/state/models/ui/create-account.ts')
-rw-r--r-- | src/state/models/ui/create-account.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state/models/ui/create-account.ts b/src/state/models/ui/create-account.ts index 9f11a9b31..3bd39ba76 100644 --- a/src/state/models/ui/create-account.ts +++ b/src/state/models/ui/create-account.ts @@ -78,7 +78,7 @@ export class CreateAccountModel { } catch (err: any) { this.rootStore.log.warn( `Failed to fetch service description for ${this.serviceUrl}`, - err, + {error: err}, ) this.setError( 'Unable to contact your service. Please check your Internet connection.', @@ -127,7 +127,7 @@ export class CreateAccountModel { errMsg = 'Invite code not accepted. Check that you input it correctly and try again.' } - this.rootStore.log.error('Failed to create account', e) + this.rootStore.log.error('Failed to create account', {error: e}) this.setIsProcessing(false) this.setError(cleanError(errMsg)) throw e |