diff --git a/website/agb/src/app/crash/debug.tsx b/website/agb/src/app/crash/debug.tsx index 5e036640..3765f14f 100644 --- a/website/agb/src/app/crash/debug.tsx +++ b/website/agb/src/app/crash/debug.tsx @@ -139,8 +139,19 @@ function BacktraceAddressInfo({ address: number; info: AddressInfo[] | undefined; }) { + const formattedAddress = `0x${address.toString(16).padStart(8, "0")}`; if (!info) { - return 0x{address.toString(16).padStart(8, "0")}; + return {formattedAddress}; + } + + if (info.length === 0) { + return ( + +
  • + (no info) {formattedAddress} +
  • +
    + ); } function FunctionName({ @@ -156,6 +167,8 @@ function BacktraceAddressInfo({ return functionName; } + console.log(info); + return ( {info.map((x, idx) => (