Skip to content

Commit 9c74830

Browse files
committed
improve log message
1 parent 0823d0e commit 9c74830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/log.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1233,6 +1233,6 @@ exports.invalidCollectionItem = function invalidCollectionItem(
12331233
classInfo +
12341234
": expected type '" +
12351235
type
1236-
+ "' for all items of the collection '[" + propertyValue + "']"
1236+
+ "' for all items of the collection '" + JSON.stringify(propertyValue) + "'"
12371237
);
12381238
};

0 commit comments

Comments
 (0)