Cleanup unwanted log

This commit is contained in:
Alexandre Bodin 2019-07-29 08:14:42 +02:00
parent f484b4d66e
commit 8835beb67a

View File

@ -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;