From 811cd7fcd36d0dd0496e322ef56ae6475bc028cf Mon Sep 17 00:00:00 2001 From: Matt Isenhower Date: Tue, 17 Feb 2026 22:05:05 -0800 Subject: [PATCH] Improve error reporting --- app/social/StatusGeneratorManager.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/social/StatusGeneratorManager.mjs b/app/social/StatusGeneratorManager.mjs index 591f6a2..3f418dc 100644 --- a/app/social/StatusGeneratorManager.mjs +++ b/app/social/StatusGeneratorManager.mjs @@ -73,7 +73,7 @@ export default class StatusGeneratorManager return { generator, status, clients }; } catch (e) { - this.console(generator).error(`Error generating status: ${e}`); + this.console(generator).error('Error generating status:', e); Sentry.captureException(e); } finally { await screenshotHelper.close(); @@ -104,7 +104,7 @@ export default class StatusGeneratorManager await client.send(status, generator); await generator.updatelastPostCache(client); } catch (e) { - this.console(generator, client).error(`Error posting: ${e}`); + this.console(generator, client).error('Error posting:', e); Sentry.captureException(e); } }