Skip to content

Commit 1687741

Browse files
committed
more log for troubleshooting
1 parent 2155383 commit 1687741

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

jscomp/main/cmij_main.ml

+5-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,11 @@ let from_cmj ~mode (files : string list) (output_file : string) : unit =
6767
when package_spec = Js_packages_info.runtime_package_specs
6868
-> ()
6969
(*TODO: assert its suffixes*)
70-
| _ -> assert false
70+
| _ ->
71+
Format.fprintf Format.err_formatter
72+
"@[%s: @[%a@]@]@." file
73+
Js_packages_info.dump_packages_info content.package_spec;
74+
assert false
7175
end
7276
| Playground _ -> ()
7377
in

0 commit comments

Comments
 (0)