From 74fb5a288b3eb3338e9ce846f2a7100a0fadfa1e Mon Sep 17 00:00:00 2001 From: Guy Bedford Date: Thu, 30 Jan 2025 21:36:11 -0800 Subject: [PATCH] fixup --- runtime/fastly/builtins/fastly.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/fastly/builtins/fastly.cpp b/runtime/fastly/builtins/fastly.cpp index 5b03dc5c08..9bc199c308 100644 --- a/runtime/fastly/builtins/fastly.cpp +++ b/runtime/fastly/builtins/fastly.cpp @@ -107,7 +107,9 @@ bool debugLog(JSContext *cx, unsigned argc, JS::Value *vp) { if (!msg_host_str) { return false; } +#ifdef DEBUG debug_messages.push_back(std::string(msg_host_str)); +#endif args.rval().setUndefined(); return true; }