Skip to content

Commit 3d0ab54

Browse files
author
Guy Bedford
committed
fixup
1 parent 3ad736d commit 3d0ab54

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

runtime/fastly/builtins/fastly.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ bool debugLog(JSContext *cx, unsigned argc, JS::Value *vp) {
107107
if (!msg_host_str) {
108108
return false;
109109
}
110+
#ifdef DEBUG
110111
debug_messages.push_back(std::string(msg_host_str));
112+
#endif
111113
args.rval().setUndefined();
112114
return true;
113115
}

0 commit comments

Comments
 (0)