Improved error message when there is an error in the modify project mode...

....