mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 09:20:08 +00:00
test use depth 10 for error
This commit is contained in:
@@ -311,6 +311,7 @@ async function logErrors(response: Response, errorStack?: unknown) {
|
||||
try {
|
||||
const error = await response.json();
|
||||
console.error(error);
|
||||
console.error(Deno.inspect(error, { depth: 10 }));
|
||||
|
||||
eventHandlers.debug?.({ type: "error", data: { errorStack, error } });
|
||||
} catch {
|
||||
|
||||
Reference in New Issue
Block a user