Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Commit c96a6f6

Browse files
committed
Merge branch 'patch-1' of https://github.com/i8ramin/Intl.js
2 parents f3604b8 + b74fbd0 commit c96a6f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ defineProperty(Intl, '__applyLocaleSensitivePrototypes', {
5656
defineProperty(Intl, '__addLocaleData', {
5757
value: function (data) {
5858
if (!IsStructurallyValidLanguageTag(data.locale))
59-
throw new Error("Object passed doesn't identify itself with a valid language tag");
59+
throw new Error("Object passed (" + data.locale + ") doesn't identify itself with a valid language tag");
6060

6161
addLocaleData(data, data.locale);
6262
}

0 commit comments

Comments
 (0)