downgrade err -> debug

This commit is contained in:
Emil Lerch 2026-03-03 21:01:42 -08:00
parent 569d7c8773
commit a414bacfec
Signed by: lobo
GPG key ID: A7B62D657EF764F8

View file

@ -359,7 +359,7 @@ pub const Record = struct {
if (type_field.default_value_ptr) |ptr| { if (type_field.default_value_ptr) |ptr| {
@field(obj, type_field.name) = @as(*const type_field.type, @ptrCast(@alignCast(ptr))).*; @field(obj, type_field.name) = @as(*const type_field.type, @ptrCast(@alignCast(ptr))).*;
} else { } else {
log.err("Record could not be coerced. Field {s} not found on srf data, and no default value exists on the type", .{type_field.name}); log.debug("Record could not be coerced. Field {s} not found on srf data, and no default value exists on the type", .{type_field.name});
return error.FieldNotFoundOnFieldWithoutDefaultValue; return error.FieldNotFoundOnFieldWithoutDefaultValue;
} }
} }