From eeb8ae5d03a2bf36c60a5166f2f4e98e5ae5b8ee Mon Sep 17 00:00:00 2001 From: Claude Bot Date: Sun, 12 Oct 2025 15:11:57 +0000 Subject: [PATCH] Fix comment to reference correct location of normalization --- src/bun.js/VirtualMachine.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bun.js/VirtualMachine.zig b/src/bun.js/VirtualMachine.zig index 0e6e3b8934..1124a737f2 100644 --- a/src/bun.js/VirtualMachine.zig +++ b/src/bun.js/VirtualMachine.zig @@ -3115,7 +3115,7 @@ fn printErrorInstance( defer iterator.deinit(); var longest_name_base = iterator.getLongestPropertyName(); // In AI agent mode, we'll also print the "name" field if it's not "Error". - // Since we normalize all errors to "error:" prefix above, we need to preserve + // Since we normalize all errors to "error:" prefix in printErrorNameAndMessage, we need to preserve // the actual error type (TypeError, ReferenceError, etc.) as a property. // This provides structured error information while maintaining grepability. if (Output.isAIAgent() and !name.eqlComptime("Error")) {