log relation reorderer error

This commit is contained in:
Marc-Roig 2022-10-25 16:12:10 +02:00
parent 5106ed251e
commit 7a9f43a027

View File

@ -84,6 +84,7 @@ class RelationsOrderer {
// Add to the chunk
this.arr.splice(idx, 0, _relation);
} catch (err) {
strapi.log.error(err);
throw new Error(
`Could not connect ${relation.id}, position ${JSON.stringify(
relation.position