You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that when config.edn is in invalid format (e.g. "Map literal must contain an even number of forms") in a stack trace you will see something like java.lang.RuntimeException: Map literal must contain an even number of forms, compiling:(dev.clj:41:11) after calling (dev) in REPL. It points into dev.clj which is confusing. What do you think about to wrap read-config in https://github.com/duct-framework/core/blob/master/src/duct/core.clj#L123 into try-catch and raise an exception within a message like: "Tip: Check you configuration in resources/fooproject/config.edn for format errors"?
The text was updated successfully, but these errors were encountered:
Hi,
I've noticed that when
config.edn
is in invalid format (e.g. "Map literal must contain an even number of forms") in a stack trace you will see something likejava.lang.RuntimeException: Map literal must contain an even number of forms, compiling:(dev.clj:41:11)
after calling(dev)
in REPL. It points intodev.clj
which is confusing. What do you think about to wrapread-config
inhttps://github.com/duct-framework/core/blob/master/src/duct/core.clj#L123
into try-catch and raise an exception within a message like: "Tip: Check you configuration in resources/fooproject/config.edn for format errors"?The text was updated successfully, but these errors were encountered: