mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 15:13:21 +00:00
Cleanup unwanted log
This commit is contained in:
parent
f484b4d66e
commit
8835beb67a
@ -108,7 +108,6 @@ module.exports = function createQueryBuilder({ model, modelKey, strapi }) {
|
||||
const entry = await model.forge(params).fetch({ transacting });
|
||||
|
||||
if (!entry) {
|
||||
console.log('not found', model.globalId, params);
|
||||
const err = new Error('entry.notFound');
|
||||
err.status = 404;
|
||||
throw err;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user