fix: Use strapi.log.warn instead of logging warnings with console.log
parent
0c2086e33a
commit
c0582bd756
|
@ -117,8 +117,7 @@ const ConfigType = class ConfigType {
|
|||
data: query,
|
||||
});
|
||||
} catch (error) {
|
||||
console.warn(error);
|
||||
console.log("Use Query Engine API instead of Entity Service API");
|
||||
strapi.log.warn(logMessage(`Use Query Engine API instead of Entity Service API for type ${this.configPrefix}`));
|
||||
await queryAPI.update({ where: combinedUidWhereFilter, data: query });
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue