Skip to content

Commit

Permalink
feat: add modelName to warning log (#1997)
Browse files Browse the repository at this point in the history
  • Loading branch information
gitankit7 authored May 13, 2024
1 parent 1b23eff commit a1e6366
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/helpers/CommonModelToMetaModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ export function convertToMetaModel(
if (booleanModel !== undefined) {
return booleanModel;
}
Logger.warn('Failed to convert to MetaModel, defaulting to AnyModel');
Logger.warn(
`Failed to convert ${modelName} to MetaModel, defaulting to AnyModel`
);
return new AnyModel(
modelName,
jsonSchemaModel.originalInput,
Expand Down

0 comments on commit a1e6366

Please sign in to comment.