Skip to content

Commit 2830a88

Browse files
committed
Add debug output for weird quote marks data issue
1 parent 5248435 commit 2830a88

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/cldr/backend/cldr_backend.ex

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,11 @@ defmodule Cldr.Backend do
806806
|> Map.get(:delimiters)
807807

808808
defp quote_marks_for(unquote(locale_name)) do
809-
unquote(Macro.escape(delimiters))
809+
marks = unquote(Macro.escape(delimiters))
810+
if !is_map(marks) do
811+
IO.inspect marks, label: "Quote marks for #{unquote(locale_name)} are not a map"
812+
end
813+
marks
810814
end
811815

812816
ellipsis =

0 commit comments

Comments
 (0)