about summary refs log tree commit diff
path: root/src/state/models/content/post-thread.ts
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-11-04 12:58:50 -0500
committerEric Bailey <git@esb.lol>2023-11-04 12:58:50 -0500
commit7e29ebbadbf6246a664a2bf45b3798b3ecd87955 (patch)
tree4808764811049c27748112cdfa575abeef8fb948 /src/state/models/content/post-thread.ts
parentdf0dcf32f99631c52b039c7f1934481924d37465 (diff)
downloadvoidsky-7e29ebbadbf6246a664a2bf45b3798b3ecd87955.tar.zst
Fix other error logs while I'm at it
Diffstat (limited to 'src/state/models/content/post-thread.ts')
-rw-r--r--src/state/models/content/post-thread.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/models/content/post-thread.ts b/src/state/models/content/post-thread.ts
index a862c27d3..cf6377da7 100644
--- a/src/state/models/content/post-thread.ts
+++ b/src/state/models/content/post-thread.ts
@@ -163,7 +163,7 @@ export class PostThreadModel {
     this.hasLoaded = true
     this.error = cleanError(err)
     if (err) {
-      this.rootStore.log.error('Failed to fetch post thread', err)
+      this.rootStore.log.error('Failed to fetch post thread', {error: err})
     }
     this.notFound = err instanceof GetPostThread.NotFoundError
   }