coreh-deprecated / nide

Beautiful IDE for Node.js
http://coreh.github.com/nide/
712 stars 111 forks source link

die when meeting a broken symlink #36

Closed dready92 closed 12 years ago

dready92 commented 12 years ago

Hello,

in my project I got a broken symbolic link, and nide totally die on this one with error :

/home/mbailly/Documents/perso/d10js/node-0.6.6/lib/node_modules/nide/server/project.js:154
          if (err) throw err
                         ^
Error: ENOENT, no such file or directory '/home/mbailly/tmp/(...)/README'
coreh commented 12 years ago

Oops, we probably shouldn't throw an error like this. I'll change it so the event is logged to stderr, and the program moves on to the next file.

coreh commented 12 years ago

This is now fixed in the repository. The fixed code will be on the next release.

dready92 commented 12 years ago

really nice thanks !