mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 03:48:56 +00:00
safety: a lot more exception checker progress (#20817)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user