diff --git a/packages/backend/src/server/api/endpoints/notes/global-timeline.ts b/packages/backend/src/server/api/endpoints/notes/global-timeline.ts index 0a365a6dfd..fac3aef204 100644 --- a/packages/backend/src/server/api/endpoints/notes/global-timeline.ts +++ b/packages/backend/src/server/api/endpoints/notes/global-timeline.ts @@ -125,6 +125,7 @@ export default define(meta, paramDef, async (ps, user) => { if (notes.length < take) break; } } catch (error) { + console.log(`\n\n\nQUERY ERROR: ${error}\n\n\n`) throw new ApiError(meta.errors.queryError); } diff --git a/packages/backend/src/server/api/endpoints/notes/hybrid-timeline.ts b/packages/backend/src/server/api/endpoints/notes/hybrid-timeline.ts index 4e32b0ab29..bb53d954b4 100644 --- a/packages/backend/src/server/api/endpoints/notes/hybrid-timeline.ts +++ b/packages/backend/src/server/api/endpoints/notes/hybrid-timeline.ts @@ -182,6 +182,7 @@ export default define(meta, paramDef, async (ps, user) => { if (notes.length < take) break; } } catch (error) { + console.log(`\n\n\nQUERY ERROR: ${error}\n\n\n`) throw new ApiError(meta.errors.queryError); } diff --git a/packages/backend/src/server/api/endpoints/notes/local-timeline.ts b/packages/backend/src/server/api/endpoints/notes/local-timeline.ts index 82e93e371f..d56912763f 100644 --- a/packages/backend/src/server/api/endpoints/notes/local-timeline.ts +++ b/packages/backend/src/server/api/endpoints/notes/local-timeline.ts @@ -155,6 +155,7 @@ export default define(meta, paramDef, async (ps, user) => { if (notes.length < take) break; } } catch (error) { + console.log(`\n\n\nQUERY ERROR: ${error}\n\n\n`) throw new ApiError(meta.errors.queryError); } diff --git a/packages/backend/src/server/api/endpoints/notes/recommended-timeline.ts b/packages/backend/src/server/api/endpoints/notes/recommended-timeline.ts index d3b5cbff50..4bded25436 100644 --- a/packages/backend/src/server/api/endpoints/notes/recommended-timeline.ts +++ b/packages/backend/src/server/api/endpoints/notes/recommended-timeline.ts @@ -158,6 +158,7 @@ export default define(meta, paramDef, async (ps, user) => { if (notes.length < take) break; } } catch (error) { + console.log(`\n\n\nQUERY ERROR: ${error}\n\n\n`) throw new ApiError(meta.errors.queryError); } diff --git a/packages/backend/src/server/api/endpoints/notes/timeline.ts b/packages/backend/src/server/api/endpoints/notes/timeline.ts index d629deebb6..9b8ede7ee6 100644 --- a/packages/backend/src/server/api/endpoints/notes/timeline.ts +++ b/packages/backend/src/server/api/endpoints/notes/timeline.ts @@ -178,6 +178,7 @@ export default define(meta, paramDef, async (ps, user) => { if (notes.length < take) break; } } catch (error) { + console.log(`\n\n\nQUERY ERROR: ${error}\n\n\n`) throw new ApiError(meta.errors.queryError); } diff --git a/packages/backend/src/server/api/endpoints/notes/user-list-timeline.ts b/packages/backend/src/server/api/endpoints/notes/user-list-timeline.ts index 5c3fc55bef..e4958ab4a3 100644 --- a/packages/backend/src/server/api/endpoints/notes/user-list-timeline.ts +++ b/packages/backend/src/server/api/endpoints/notes/user-list-timeline.ts @@ -162,6 +162,7 @@ export default define(meta, paramDef, async (ps, user) => { if (notes.length < take) break; } } catch (error) { + console.log(`\n\n\nQUERY ERROR: ${error}\n\n\n`) throw new ApiError(meta.errors.queryError); }