Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improving config file loading #1586

Closed
pekeler opened this issue Jul 3, 2023 · 1 comment
Closed

improving config file loading #1586

pekeler opened this issue Jul 3, 2023 · 1 comment

Comments

@pekeler
Copy link

pekeler commented Jul 3, 2023

I wish the --debug option printed some information about the loading of the config file.

And that there'd be an error or warning message if bb is invoked with a --config path that can't be loaded. Currently, bb --config bad-path.edn doesn't result in any error or warning.

Context: I'm trying to debug why my bb.edn is loaded on my dev machine but not in production.

@borkdude
Copy link
Collaborator

borkdude commented Jul 3, 2023

I'll consider this. Meanwhile you can for example make an intentional bug in your EDN file, e.g. {:a 1 :a 2} which will make the EDN reader crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants