aboutsummaryrefslogtreecommitdiff
path: root/src/commands/dev/sh.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/dev/sh.ts')
-rw-r--r--src/commands/dev/sh.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/dev/sh.ts b/src/commands/dev/sh.ts
index be6a015..e071e73 100644
--- a/src/commands/dev/sh.ts
+++ b/src/commands/dev/sh.ts
@@ -82,7 +82,7 @@ export default class ShCommand extends BushCommand {
.setColor(util.colors.error)
.spliceFields(1, 1);
- embed.addFields([{ name: '📤 Output', value: await util.codeblock(e?.stack, 1024, 'js', true) }]);
+ embed.addFields([{ name: '📤 Output', value: await util.codeblock(util.formatError(e), 1024, 'js', true) }]);
}
await message.util.edit({ embeds: [embed] });
}