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

run-main returns 0 exit code on exception #181

Open
frenchy64 opened this issue Jan 24, 2025 · 2 comments
Open

run-main returns 0 exit code on exception #181

frenchy64 opened this issue Jan 24, 2025 · 2 comments

Comments

@frenchy64
Copy link
Contributor

Probably should be non-zero.

clojure-cli-test/lein-jank/test-project $ lein jank run
Bottom of clojure.core
Exception: invalid call to test-project.core/-main (jit_function@0x7ea926d0a2d8) with 0 args provided
clojure-cli-test/lein-jank/test-project $ echo $?
0
@Samy-33
Copy link
Contributor

Samy-33 commented Jan 24, 2025

Perhaps this:

{:continue true

@frenchy64
Copy link
Contributor Author

frenchy64 commented Jan 24, 2025

More context: I noticed this via the Clojure CLI integration so I suspect this has something to do with jank run-main. I didn't have enough spare cycles to give a minimum reproduction.

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

No branches or pull requests

3 participants