chore: remove cacheable field from ScriptManager log

Cacheable for ScriptManager means something very specific (should the js.Context
cache the module for subsequent loads). With HTTP caching coming, I'm removing
this field from the ScriptManager logs because (a) it isn't very useful anyways
and (b) it doesn't mean what most people who see it would think it means.
This commit is contained in:
Karl Seguin committed 2026-08-02 13:17:29 +08:00
1 parent 70bbdadf4b
commit 596d236551
1 file changed
-3
-3
View File
@@ -915,7 +915,6 @@ pub const Script = struct {
log.info(.browser, "executing script", .{
.src = url,
.kind = fe.kind,
.cacheable = cacheable,
});
var ls: js.Local.Scope = undefined;
@@ -941,7 +940,6 @@ pub const Script = struct {
.err = err,
.src = url,
.kind = fe.kind,
.cacheable = cacheable,
});
self.executeCallback(comptime .wrap("error"));
return;
@@ -999,7 +997,6 @@ pub const Script = struct {
log.warn(.js, "eval script", .{
.url = url,
.caught = caught,
.cacheable = cacheable,
});
if (try_catch.exceptionValue()) |exc| {