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/lists/lists-list.ts | |
parent | df0dcf32f99631c52b039c7f1934481924d37465 (diff) | |
download | voidsky-7e29ebbadbf6246a664a2bf45b3798b3ecd87955.tar.zst |
Fix other error logs while I'm at it
Diffstat (limited to 'src/state/models/lists/lists-list.ts')
-rw-r--r-- | src/state/models/lists/lists-list.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/state/models/lists/lists-list.ts b/src/state/models/lists/lists-list.ts index 42638757a..7415d06d7 100644 --- a/src/state/models/lists/lists-list.ts +++ b/src/state/models/lists/lists-list.ts @@ -204,10 +204,12 @@ export class ListsListModel { this.error = cleanError(err) this.loadMoreError = cleanError(loadMoreErr) if (err) { - this.rootStore.log.error('Failed to fetch user lists', err) + this.rootStore.log.error('Failed to fetch user lists', {error: err}) } if (loadMoreErr) { - this.rootStore.log.error('Failed to fetch user lists', loadMoreErr) + this.rootStore.log.error('Failed to fetch user lists', { + error: loadMoreErr, + }) } } |