safety: a lot more exception checker progress (#20817)

This commit is contained in:
Meghan Denny
2025-07-10 14:34:51 -08:00
committed by GitHub
parent c6bce38ead
commit 6c5b863530
107 changed files with 967 additions and 2209 deletions

View File

@@ -692,7 +692,7 @@ pub const ByteRangeMapping = struct {
return globalThis.throwOutOfMemoryValue();
};
return bun.String.createUTF8ForJS(globalThis, mutable_str.slice());
return bun.String.createUTF8ForJS(globalThis, mutable_str.slice()) catch return .zero;
}
pub fn compute(source_contents: []const u8, source_id: i32, source_url: bun.JSC.ZigString.Slice) ByteRangeMapping {