Skip to content

Commit

Permalink
FE: mute error message for unknown types
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalii4as committed Nov 24, 2021
1 parent 077cddf commit 02779f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions forward_engineering/modules/avsc/lib/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@ Type.forSchema = function (schema, opts) {
// reference.
return opts.registry[schema] = Type.forSchema({type: schema}, opts);
}
Type.addError(new Error(f('undefined type name: %s', schema)));
// Type.addError(new Error(f('undefined type name: %s', schema)));

return '';
return schema;
}

if (schema.logicalType && opts.logicalTypes && !LOGICAL_TYPE) {
Expand Down

0 comments on commit 02779f5

Please sign in to comment.