technomancy/leiningen — pull request #1453 by mpblair (2014-02-16 22:50:44+00:00)
Title: Fix issue 1444 - Leiningen errors if profiles.clj is blank.  Push try-ca...

...tch from user/load-profiles to utils/read-file, print helpful error message from utils/read-file, and bubble exception up.

Tested this with both a blank ~/.lein/profiles.clj and proj-dir/profiles.clj. Error message and stack trace given in both cases.