fix: sync tests with config normalization

This commit is contained in:
Peter Steinberger
2026-01-24 13:32:22 +00:00
parent c8afa8207c
commit 386d21b6d1
5 changed files with 6 additions and 5 deletions

View File

@@ -1,3 +1,4 @@
import { inspect } from "node:util";
import { Client } from "@buape/carbon";
import { GatewayIntents, GatewayPlugin } from "@buape/carbon/gateway";
import { Routes } from "discord-api-types/v10";
@@ -95,7 +96,7 @@ function formatDiscordDeployErrorDetails(err: unknown): string {
try {
bodyText = JSON.stringify(rawBody);
} catch {
bodyText = String(rawBody);
bodyText = inspect(rawBody, { depth: 3 });
}
if (bodyText) {
const maxLen = 800;