mirror of
https://github.com/strapi/strapi.git
synced 2025-07-21 07:57:45 +00:00
rephrase connect relation error
This commit is contained in:
parent
1ccb35486b
commit
02a23a00ef
@ -170,7 +170,9 @@ const relationsOrderer = (initArr, idColumn, orderColumn) => {
|
|||||||
insertRelation(relation);
|
insertRelation(relation);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
`There was a problem connecting id ${relation.id} with position ${JSON.stringify(
|
`There was a problem connecting relation with id ${
|
||||||
|
relation.id
|
||||||
|
} at position ${JSON.stringify(
|
||||||
relation.position
|
relation.position
|
||||||
)}. The list of connect relations is not valid`
|
)}. The list of connect relations is not valid`
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user