From 9f9c8fccf2d16359fbe7f66068a3d4b69eb8663c Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Tue, 17 Mar 2026 22:47:26 -0600 Subject: [PATCH] Update packages/server/src/utils/notifications/database-backup.ts Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- packages/server/src/utils/notifications/database-backup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/utils/notifications/database-backup.ts b/packages/server/src/utils/notifications/database-backup.ts index 39def2db4..924b5c7a1 100644 --- a/packages/server/src/utils/notifications/database-backup.ts +++ b/packages/server/src/utils/notifications/database-backup.ts @@ -153,7 +153,7 @@ export const sendDatabaseBackupNotifications = async ({ ? [ { name: decorate("`⚠️`", "Error Message"), - value: `\`\`\`${errorMessage.substring(0, 1010)}\`\`\``, + value: `\`\`\`${errorMessage.length > 1010 ? `${errorMessage.substring(0, 1010)}...` : errorMessage}\`\`\``, }, ] : []),