leiningen/test_projects/file-not-found-thrower
Gary Fredericks cc886d56a3 lein run: don't catch app errors as require errors
closes #1469

`lein run` currently has some special error handling around
FileNotFoundException which helps it decide what exactly it should
do. Unfortunately if the actual running of the given main function
itself throws a FileNotFoundException this is currently caught by
Leiningen and assumed to be a require error.

The simple solution is to run the main method outside of that error
handling block.

Regression test provided.
2014-03-13 20:17:59 -05:00
..
src/file_not_found_thrower lein run: don't catch app errors as require errors 2014-03-13 20:17:59 -05:00
.gitignore lein run: don't catch app errors as require errors 2014-03-13 20:17:59 -05:00
project.clj lein run: don't catch app errors as require errors 2014-03-13 20:17:59 -05:00