downgrade err -> debug
This commit is contained in:
parent
569d7c8773
commit
a414bacfec
1 changed files with 1 additions and 1 deletions
|
|
@ -359,7 +359,7 @@ pub const Record = struct {
|
|||
if (type_field.default_value_ptr) |ptr| {
|
||||
@field(obj, type_field.name) = @as(*const type_field.type, @ptrCast(@alignCast(ptr))).*;
|
||||
} 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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue