craftr-build / craftr-build-4.x

Frontend for the Craftr build framework.
https://craftr-build.github.io/craftr/
Other
60 stars 14 forks source link

FileNotFound error should display a proper message #42

Closed NiklasRosenstein closed 8 years ago

NiklasRosenstein commented 8 years ago

If you start a subprocess and the executable can not be found, you'll see something like this

FileNotFoundError: [WinError 2] The system could not find the specified file

But no clue about what file could not be found.

NiklasRosenstein commented 8 years ago

Fixed in https://github.com/craftr-build/craftr/commit/39e87ef46191c06a3d7efdff4b1a685a5fc491b9#diff-f7bff0826e6d72967f786eabfe7306c5R163

NiklasRosenstein commented 8 years ago

Seems like updating the exception is only necessary on Windows, the filename is included in the error message on Linux.